EJB容器把它当成应用程序异常(application exception)处理,如果EJB方法抛出这个异常,则不会触发任何动作。然而,容器认识系统异常(system exception),它默认为所有可能被EJB方法...
基于18个网页-相关网页
...注解的异常无论是checked exception还是unchecked exception(比如运行时异常),都会被认为是应用异常(application exception),从而传递给方法调用者或客户端。
基于16个网页-相关网页
Exception to application 不适用条款
Exception Handling Application Block 异常处理应用程序块 ; 异常处理应用块 ; 异常管理
application-defined exception 应用程序定义例外 ; 应用程序定义的异常
Exception Management Application Block 异常管理应用程序块
So, in your situation: your application exception classes are subclasses of RuntimeException.
因此,对于您的情况:您的应用程序异常类是RuntimeException的子类。
We will build a symptom database that describes this application exception and the steps required to remedy the problem.
我们将创建一个症状数据库,该数据库描述这个应用程序异常以及改正该问题所需的步骤。
Theoretically, you could have all of your Web tier methods expect and respond to a single application exception, as we did in some of our previous examples.
理论上,您可以让所有web层方法预期处理和响应单个应用程序异常,正如我们在先前的一些示例中所做的一样。
应用推荐