more %catches documentation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8791 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
00006295b0
commit
66bf3de6cf
3 changed files with 41 additions and 27 deletions
|
|
@ -2199,7 +2199,7 @@ language when reading a C/C++ global variable. This is implementation specific.
|
|||
|
||||
|
||||
<p>
|
||||
The "throws" typemap is only used when SWIG parses a C++ method with an exception specification.
|
||||
The "throws" typemap is only used when SWIG parses a C++ method with an exception specification or has the <tt>%catches</tt> feature attached to the method.
|
||||
It provides a default mechanism for handling C++ methods that have declared the exceptions it will throw.
|
||||
The purpose of this typemap is to convert a C++ exception into an error or exception in the target language.
|
||||
It is slightly different to the other typemaps as it is based around the exception type rather than the type of a parameter or variable.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue