scilab: use overrided SWIG_exception macro
This commit is contained in:
parent
eb62899fac
commit
51c9ee4b45
1 changed files with 3 additions and 3 deletions
|
|
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue