Lines Matching refs:exception
2 * exception.i
4 * SWIG library file providing language independent exception handling
8 #error "This version of exception.i should not be used"
133 sprintf( msg_buf, "Exception(%d): %s\n", code, msg );
244 You can use the SWIG_CATCH_STDEXCEPT macro with the %exception
247 %exception {
254 SWIG_CATCH_STDEXCEPT // catch std::exception
256 SWIG_exception(SWIG_UnknownError, "Unknown exception");
264 /* catching std::exception */
277 } catch (std::exception& e) {
282 catch (std::exception& e) {
286 SWIG_exception(SWIG_UnknownError, "unknown exception");
290 /* rethrow the unknown exception */
294 SWIG_exception(SWIG_RuntimeError,"unknown exception");
298 SWIG_exception(SWIG_RuntimeError,"unknown exception");
304 /* exception.i ends here */