diff options
author | Tim King <taking@cs.nyu.edu> | 2014-03-07 19:45:37 -0500 |
---|---|---|
committer | Tim King <taking@cs.nyu.edu> | 2014-03-07 19:45:37 -0500 |
commit | 1f48d6abdb4ba39348cb36bc7005cff0edebab8c (patch) | |
tree | 6b596fc8780de25848f8eeafec8809a8d5f89a99 /src/cvc4.i | |
parent | 9ccdea06edbc72e3ecd282e9e015f6fc4b2e7173 (diff) |
Fixing a SWIG problem for RationalFromDoubleException.
Diffstat (limited to 'src/cvc4.i')
-rw-r--r-- | src/cvc4.i | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cvc4.i b/src/cvc4.i index aadbc374d..c0042b513 100644 --- a/src/cvc4.i +++ b/src/cvc4.i @@ -147,6 +147,8 @@ std::set<JavaInputStreamAdapter*> CVC4::JavaInputStreamAdapter::s_adapters; %typemap(throws) CVC4::parser::InputStreamException = CVC4::Exception; %typemap(throws) CVC4::parser::ParserException = CVC4::Exception; +%typemap(throws) CVC4::RationalFromDoubleException = Exception; + // Generate an error if the mapping from C++ CVC4 Exception to Java CVC4 Exception doesn't exist above %typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [], SWIGTYPE [ANY] %{ #error "exception $1_type doesn't map to Java correctly---please edit src/cvc4.i and add it" |