/usr/share/swig/3.0.12/csharp
NameSizeModeActions
arrays_csharp.i54560644editdlrm
boost_intrusive_ptr.i237320644editdlrm
boost_shared_ptr.i112990644editdlrm
csharp.swg398630644editdlrm
csharphead.swg162250644editdlrm
csharpkw.swg18580644editdlrm
director.swg11690644editdlrm
enums.swg29420644editdlrm
enumsimple.swg28850644editdlrm
enumtypesafe.swg47980644editdlrm
std_array.i71240644editdlrm
std_auto_ptr.i9280644editdlrm
std_common.i1020644editdlrm
std_deque.i280644editdlrm
std_except.i22890644editdlrm
std_map.i109100644editdlrm
std_pair.i7030644editdlrm
std_shared_ptr.i680644editdlrm
std_string.i31750644editdlrm
std_vector.i144580644editdlrm
std_wstring.i36460644editdlrm
stl.i3570644editdlrm
swiginterface.i31250644editdlrm
swigtype_inout.i14700644editdlrm
typemaps.i107070644editdlrm
wchar.i34010644editdlrm
Edit: /usr/share/swig/3.0.12/csharp/std_except.i (2289B)
/* ----------------------------------------------------------------------------- * 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, canthrow=1) std::bad_cast "SWIG_CSharpSetPendingException(SWIG_CSharpInvalidCastException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::bad_exception "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::domain_error "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::exception "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::invalid_argument "SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentException, $1.what(), \"\");\n return $null;" %typemap(throws, canthrow=1) std::length_error "SWIG_CSharpSetPendingException(SWIG_CSharpIndexOutOfRangeException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::logic_error "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::out_of_range "SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, 0, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::overflow_error "SWIG_CSharpSetPendingException(SWIG_CSharpOverflowException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::range_error "SWIG_CSharpSetPendingException(SWIG_CSharpIndexOutOfRangeException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::runtime_error "SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::underflow_error "SWIG_CSharpSetPendingException(SWIG_CSharpOverflowException, $1.what());\n return $null;"