/usr/share/swig/3.0.12/d
NameSizeModeActions
boost_shared_ptr.i82240644editdlrm
carrays.i25790644editdlrm
cpointer.i34820644editdlrm
d.swg13490644editdlrm
dclassgen.swg36190644editdlrm
ddirectives.swg5230644editdlrm
denums.swg19370644editdlrm
dexception.swg11740644editdlrm
dhead.swg86080644editdlrm
director.swg11780644editdlrm
dkw.swg24210644editdlrm
dmemberfunctionpointers.swg26750644editdlrm
doperators.swg81200644editdlrm
dprimitives.swg46060644editdlrm
dstrings.swg25690644editdlrm
dswigtype.swg52420644editdlrm
dvoid.swg5590644editdlrm
std_common.i1020644editdlrm
std_deque.i280644editdlrm
std_except.i20460644editdlrm
std_map.i17450644editdlrm
std_pair.i7030644editdlrm
std_shared_ptr.i680644editdlrm
std_string.i31090644editdlrm
std_vector.i163990644editdlrm
stl.i3570644editdlrm
typemaps.i110710644editdlrm
wrapperloader.swg78950644editdlrm
Edit: /usr/share/swig/3.0.12/d/std_except.i (2046B)
/* ----------------------------------------------------------------------------- * 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_DSetPendingException(SWIG_DException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::bad_exception "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::domain_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::exception "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::invalid_argument "SWIG_DSetPendingException(SWIG_DIllegalArgumentException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::length_error "SWIG_DSetPendingException(SWIG_DNoSuchElementException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::logic_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::out_of_range "SWIG_DSetPendingException(SWIG_DNoSuchElementException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::overflow_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::range_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::runtime_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;" %typemap(throws, canthrow=1) std::underflow_error "SWIG_DSetPendingException(SWIG_DException, $1.what());\n return $null;"