Fix for %%javaexception and directors so that all the appropriate throws clauses are generated
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11797 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
bd84f7f794
commit
6dad327ed3
4 changed files with 32 additions and 0 deletions
|
|
@ -3724,6 +3724,9 @@ public:
|
|||
|
||||
String *upcall = NewStringf("self.%s(%s)", symname, imcall_args);
|
||||
|
||||
// Handle exception classes specified in the "except" feature's "throws" attribute
|
||||
addThrows(n, "feature:except", n);
|
||||
|
||||
if (!is_void) {
|
||||
Parm *tp = NewParmFromNode(returntype, empty_str, n);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue