scilab: use overrided SWIG_exception macro

This commit is contained in:
Simon Marchetto 2014-04-09 10:31:16 +02:00
commit 51c9ee4b45

View file

@ -65,7 +65,7 @@ namespace swig
} }
catch (std::exception& e) catch (std::exception& e)
{ {
SWIG_Scilab_ErrorMsg(SWIG_RuntimeError, e.what()); SWIG_exception(SWIG_RuntimeError, e.what());
} }
} }
@ -395,7 +395,7 @@ namespace swig {
} }
catch (std::exception& e) catch (std::exception& e)
{ {
SWIG_Scilab_ErrorMsg(SWIG_RuntimeError, e.what()); SWIG_exception(SWIG_RuntimeError, e.what());
} }
} }
} }
@ -436,7 +436,7 @@ namespace swig {
} }
catch (std::exception& e) catch (std::exception& e)
{ {
SWIG_Scilab_ErrorMsg(SWIG_RuntimeError, e.what()); SWIG_exception(SWIG_RuntimeError, e.what());
} }
} }
}; };