summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-10-04 17:43:21 +0000
committerMorgan Deters <mdeters@gmail.com>2012-10-04 17:43:21 +0000
commitedc69feaf7b41e0166f172d943b0d981f392474a (patch)
tree704ef6c15d3f7b32620b65fdd6067bb99da6188d /src
parent5c4debb1893109a4d4a2feacd910d3778aeca8f4 (diff)
IllegalArgumentException in java needs to be named "CVC4IllegalArgumentException" to avoid a name clash with java.lang.IllegalArgumentException, which isn't easily avoided, due to swig-autogenerated code that uses it unqualified. X-(
Diffstat (limited to 'src')
-rw-r--r--src/util/exception.i2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/exception.i b/src/util/exception.i
index c5daadec0..422f34b10 100644
--- a/src/util/exception.i
+++ b/src/util/exception.i
@@ -6,4 +6,6 @@
%ignore CVC4::Exception::Exception(const char*) throw();
%typemap(javabase) CVC4::Exception "java.lang.RuntimeException";
+%rename(CVC4IllegalArgumentException) CVC4::IllegalArgumentException;
+
%include "util/exception.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback