correction

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6008 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2004-07-04 07:13:16 +00:00
commit 6b5b4028db

View file

@ -2729,7 +2729,7 @@ Version 1.3.15 (September 9, 2002)
%typemap(throws, throws="java.io.IOException") file_exception {
jclass excep = jenv->FindClass("java/io/IOException");
if (excep)
jenv->ThrowNew(excep, _e.what());
jenv->ThrowNew(excep, $1.what());
return $null; // or use SWIG_fail
}