exception handler A block of code that reacts to a specific type of exception. If the exception is for an error that the program can recover from, the program can resume executing after the exception handler has executed 我实在不是很懂你的话,可能是我的水平问题,那没有关系。我只想知道上面的一段解释是不是指象c++中的异常处理。那exception handler variable 是什么。 我很急切的想知道。我在看java tutorial时看到的,这个概念搞不懂,就看不下去了。
像ActionEvent等等这样的‘参数’
一般是封装了每个事件相关信息(如事件源)的类
A block of code that reacts to a specific type of exception. If the exception is for an error that the program can recover from, the program can resume executing after the exception handler has executed
我实在不是很懂你的话,可能是我的水平问题,那没有关系。我只想知道上面的一段解释是不是指象c++中的异常处理。那exception handler variable
是什么。
我很急切的想知道。我在看java tutorial时看到的,这个概念搞不懂,就看不下去了。
如果这个异常是程序可恢复的,程序可以在Exception Handler
被执行后,继续执行就像你说的,很像C++的