From edc69feaf7b41e0166f172d943b0d981f392474a Mon Sep 17 00:00:00 2001 From: Morgan Deters Date: Thu, 4 Oct 2012 17:43:21 +0000 Subject: [PATCH] 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-( --- src/util/exception.i | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.30.2