/usr/share/swig/3.0.12/java
NameSizeModeActions
arrays_java.i137010644editdlrm
boost_intrusive_ptr.i202360644editdlrm
boost_shared_ptr.i88190644editdlrm
director.swg133330644editdlrm
enums.swg45230644editdlrm
enumsimple.swg25750644editdlrm
enumtypesafe.swg46330644editdlrm
enumtypeunsafe.swg27230644editdlrm
java.swg487300644editdlrm
javahead.swg41810644editdlrm
javakw.swg12700644editdlrm
std_array.i11660644editdlrm
std_auto_ptr.i8460644editdlrm
std_common.i1020644editdlrm
std_deque.i280644editdlrm
std_except.i20710644editdlrm
std_map.i23370644editdlrm
std_pair.i7120644editdlrm
std_shared_ptr.i680644editdlrm
std_string.i35480644editdlrm
std_vector.i26330644editdlrm
std_wstring.i50590644editdlrm
stl.i2910644editdlrm
swiginterface.i34050644editdlrm
typemaps.i182110644editdlrm
various.i58720644editdlrm
Edit: /usr/share/swig/3.0.12/java/std_except.i (2071B)
/* ----------------------------------------------------------------------------- * std_except.i * * Typemaps used by the STL wrappers that throw exceptions. * These typemaps are used when methods are declared with an STL exception specification, such as * size_t at() const throw (std::out_of_range); * ----------------------------------------------------------------------------- */ %{ #include #include %} namespace std { %ignore exception; struct exception {}; } %typemap(throws) std::bad_cast "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" %typemap(throws) std::bad_exception "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" %typemap(throws) std::domain_error "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" %typemap(throws) std::exception "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" %typemap(throws) std::invalid_argument "SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, $1.what());\n return $null;" %typemap(throws) std::length_error "SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, $1.what());\n return $null;" %typemap(throws) std::logic_error "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" %typemap(throws) std::out_of_range "SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, $1.what());\n return $null;" %typemap(throws) std::overflow_error "SWIG_JavaThrowException(jenv, SWIG_JavaArithmeticException, $1.what());\n return $null;" %typemap(throws) std::range_error "SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, $1.what());\n return $null;" %typemap(throws) std::runtime_error "SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1.what());\n return $null;" %typemap(throws) std::underflow_error "SWIG_JavaThrowException(jenv, SWIG_JavaArithmeticException, $1.what());\n return $null;"