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:
William S Fulton 2008-05-20 20:56:48 +00:00
commit d51100da4f

View file

@ -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