array throws typemap added

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@5949 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-05-30 08:01:25 +00:00
commit fac3662444
2 changed files with 8 additions and 8 deletions

View file

@ -766,15 +766,15 @@
return $null;
}
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE * {
%typemap(throws) SWIGTYPE, SWIGTYPE &, SWIGTYPE *, SWIGTYPE [ANY] %{
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, "C++ $1_type exception thrown");
return $null;
}
%}
%typemap(throws) char * {
%typemap(throws) char * %{
SWIG_JavaThrowException(jenv, SWIG_JavaRuntimeException, $1);
return $null;
}
%}
/* Typemaps for code generation in proxy classes and Java type wrapper classes */