C# exception %exception example fix
From Cindy Gan [skip ci]
This commit is contained in:
parent
f6b10f299f
commit
54218bfe3f
1 changed files with 1 additions and 0 deletions
|
|
@ -1075,6 +1075,7 @@ try {
|
|||
$action
|
||||
} catch (std::out_of_range e) {
|
||||
SWIG_CSharpSetPendingException(SWIG_CSharpApplicationException, e.what());
|
||||
return $null;
|
||||
}
|
||||
%}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue