已检查异常继承自exception类并用于处理可恢复性出错诸如业务出错场景。
Checked exceptions inherit from exception class and are used to handle recoverable errors such as business error scenarios.
对于方法调用指令,可以使用Bytecode Engineering Library (BCEL)类来提取方法声明抛出的已检查异常的类型。
For the method call instructions, you use Bytecode Engineering Library (BCEL) classes to extract the types of checked exceptions the method is declared to throw.
已检查的、用户定义的异常。
应用推荐