Use checked exceptions in director typemaps throws attribute as it tests more
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10480 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
94420124f5
commit
d51100da4f
1 changed files with 2 additions and 2 deletions
|
|
@ -12,9 +12,9 @@
|
|||
%feature("director") Derived;
|
||||
|
||||
// Test the throws attribute in these typemaps
|
||||
%typemap(javadirectorout, throws="RuntimeException/*javadirectorout Base&*/") Base&
|
||||
%typemap(javadirectorout, throws="InstantiationException/*javadirectorout Base&*/") Base&
|
||||
"$javaclassname.getCPtr($javacall)/* XYZ& typemap directorout*/"
|
||||
%typemap(javadirectorin, throws="Throwable/*javadirectorin Base&*/") Base&
|
||||
%typemap(javadirectorin, throws="ClassNotFoundException/*javadirectorin Base&*/") Base&
|
||||
"new $javaclassname($jniinput, false)/*javadirectorin*/"
|
||||
%typemap(out, throws="IllegalAccessException/*out Base&*/") Base& {
|
||||
// XYZ& typemap out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue