Replace DirectorException::raiseJavaException with DirectorException::throwException
This is part of a plan to provide a common DirectorException api for throwing the target language exception raised during a director method call.
This commit is contained in:
parent
34712c0108
commit
901f8357b0
5 changed files with 17 additions and 10 deletions
|
|
@ -1053,7 +1053,7 @@ Swig::LocalRefGuard $1_refguard(jenv, $input); }
|
|||
|
||||
/* For methods to raise/throw the original Java exception thrown in a director method */
|
||||
%typemap(throws) Swig::DirectorException
|
||||
%{ $1.raiseJavaException(jenv);
|
||||
%{ $1.throwException(jenv);
|
||||
return $null; %}
|
||||
|
||||
/* Java to C++ DirectorException should already be handled. Suppress warning and do nothing in the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue