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.
我们将创建一个症状数据库,该数据库描述这个应用程序异常以及改正该问题所需的步骤。
The container must pass application exceptions through to the EJB client without changing the exception nor changing the transaction.
容器必须将应用程序异常传递到EJB客户端并且不改变该异常以及事务。
While it performs the rollback automatically, it also converts your hopefully meaningful and descriptive application exception to a generic one.
当它自动执行回滚的同时,也将您有含义的描述的应用程序异常转换成了通用的异常。
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层方法预期处理和响应单个应用程序异常,正如我们在先前的一些示例中所做的一样。
You will also often need to provide subclasses of these more specific exceptions (which are in turn subclasses of the main application exception), providing even more specific exceptions.
您还经常需要给这些更具体的异常(这些异常也是主应用程序异常的子类)提供子类,以提供更具体的异常。
Without exception, every organization and application is different, so it follows that every migration experience will be different as well.
无一例外,每个组织和应用程序都是不同的,因此每个移植经验也都是不同的。
When the server reports an unexpected exception, you can examine the classes and methods of the associated stack trace to determine which application caused, or was involved in, the exception.
当服务器报告一个意外的异常时,您可以检查关联堆栈跟踪的类和方法,来确定哪个应用程序导致了异常或者与异常有关。
If this exception isn't caught, it will immediately kill the application with an error message and stack trace dumped to the console.
如果这个异常没有被捕捉到,它将立即关闭应用程序,并将一条错误消息和栈跟踪输出到控制台。
Many programming tasks require some initialization or start-up activities, and this sample SDO application is no exception.
许多编程任务都需要一些初始化或开始活动,此示例SDO应用程序也不例外。
The only exception is the 'local' supplier and customer roles, which are always using the local application server.
唯一的例外是“本地的”供应商与客户角色,这些角色总是使用本地的应用程序服务器。
When components throw application errors, they could log the exception at the appropriate interface within the component boundaries and then throw the exceptions.
当组件抛出应用出错时,他们可以在组件边界内通过适当的接口记录异常,然后再抛出异常。
Exception handling is the basic requirement of every application to handle any unexpected behavior of the application.
异常处理是每个应用程序的基本要求,以便处理应用程序的任意意外行为。
Another issue with lazy fetching is that the database connection has to be retained until all the required data is fetched else the application will throw a lazy loading exception.
延迟抓取的另一个问题就是在获取到请求的数据前要一直打开数据库连接,否则应用就会抛出一个延迟加载异常。
The fourth parameter represents the actual instance of the exception thrown by the application.
第四个参数表示被应用程序所抛出的异常的实例。
In a real-world application, additional exception handling would be needed to handle this sort of situation.
在现实的应用程序中,需要额外的异常处理来处理这类情况。
Application owner accounts should be the only exception to the password policy rule that is being used.
应用程序所有者账户应该是密码策略规则的惟一例外。
Certain rules will be enforced upon the user when they try to create their password; these rules should be global to all users. Cases of exception are application owners.
当用户设置自己的密码时,会对他们施加某些规则;这些规则应该应用于所有用户,但是应用程序的所有者例外。
Unlike references, which are best used in moderation, finalizers have essentially no use in a well-written application, with the exception of tidying up native resources.
最好适当地使用引用,收尾器与之不同,除了清理本地资源,它在编写得很好的应用程序中基本没用。
A bit of an obscure infinite recursion situtaion that unfortunately is pretty common is incorrect usage of the Exception Handling application block.
异常处理应用程序块使用不恰当,这是常见的一个隐晦的无穷递归情形。
By switching on exception tracing, you will be able to provide multiple snapshots of the stack as an exception bubbles up through layers of application code.
通过打开异常跟踪,您将可以提供堆栈的多个快照作为从应用程序代码层冒出的异常。
This leads to the exception messages that you might have noticed when you ran the application for the first time.
这将导致您在第一次运行该应用程序时可能看到的异常消息。
That said, with the exception of protection against internal application attacks, most of the security hardening steps suggested in this article are fairly low cost.
因此,除了保护内部应用程序免受攻击外,本文中建议的大多数安全性加强步骤的成本都相当低。
When an error or exception occurs in your application, FFDC ensures that it is dealt with in the correct way, and that any useful information about the error is preserved.
当你的应用程序发生一个错误或者抛出一个异常时,FFDC可以确保这个错误或者异常被正确的处理,并且任何和这个错误相关的信息都将会被保存下来。
Your application can throw this subclass exception and your client would receive this exception.
您的应用程序可以抛出这个子类异常,并且您的客户将接收到这个异常。
On the other hand, regular destinations on the SCA application bus are configured to route failed messages to the SCA application bus system exception destination.
另一方面,将SCA应用程序总线上的常规目的地都配置为将失败消息路由到SCA应用程序总线的系统异常目的地。
Figure 8 shows every exception that is still present in the application, and the message that would have been shown when the exception was thrown.
图8显示的是应用程序中仍存在的所有异常,以及当异常抛出时所显示的消息。
The only exception is when your application has special business rules for data aggregation and ordering that HQL doesn’t support.
当你的应用程序对数据聚合和排序有HQL不支持的特定业务规则时除外。
The design of this application follows the accepted paradigm, with the exception of the first JSP.
该应用程序的设计遵从公认的范例,只有第一个jsp除外。
There is an exception when you are dealing with a multi-thread application.
当您在处理多线程程序时,还有一个例外。
应用推荐