全部博文(164)
分类: Python/Ruby
2012-07-24 13:19:12
Sets the default exception handler if an exception is not caught within a try/catch block. Execution will stop after the exception_handler is called.
设置默认的异常处理函数,捕获没有用try/catch块处理的异常。当调用exception_hander时,程序停止执行。