Revert "java : noexcept method can't raise Swig::DirectorException"
This reverts commit e13eaaae21.
This commit is contained in:
parent
e429a891c9
commit
cedfbfbee8
1 changed files with 1 additions and 3 deletions
|
|
@ -4375,11 +4375,9 @@ public:
|
|||
|
||||
Printf(w->code, "jenv->%s(Swig::jclass_%s, Swig::director_method_ids[%s], %s);\n", methop, imclass_name, methid, jupcall_args);
|
||||
|
||||
if (!Getattr(n, "noexcept")) {
|
||||
// Generate code to handle any Java exception thrown by director delegation
|
||||
directorExceptHandler(n, catches_list ? catches_list : throw_parm_list, w);
|
||||
}
|
||||
|
||||
|
||||
if (!is_void) {
|
||||
String *jresult_str = NewString("jresult");
|
||||
String *result_str = NewString("c_result");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue