File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,20 +127,20 @@ under the License.
127127 try {
128128 $action
129129 }
130- catch (std::invalid_argument & e) {
130+ catch (std::invalid_argument& e) {
131131 SWIG_exception(SWIG_TypeError,const_cast<char*>(e.what()));
132132 }
133133 catch (std::out_of_range& e) {
134134 SWIG_exception(SWIG_IndexError,const_cast<char*>(e.what()));
135135 }
136- catch (std::logic_error & e) {
136+ catch (std::logic_error& e) {
137137 SWIG_exception(SWIG_SyntaxError,const_cast<char*>(e.what()));
138138 }
139- catch (std::runtime_error & e) {
139+ catch (std::exception & e) {
140140 SWIG_exception(SWIG_RuntimeError,const_cast<char*>(e.what()));
141141 }
142142 catch(...) {
143- SWIG_exception(SWIG_RuntimeError ,"Unknown exception at F2I C++ API level");
143+ SWIG_exception(SWIG_UnknownError ,"Unknown exception at FESAPI C++ API level");
144144 }
145145}
146146
You can’t perform that action at this time.
0 commit comments