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.
如果这个异常没有被捕捉到,它将立即关闭应用程序,并将一条错误消息和栈跟踪输出到控制台。
The communication error is also displayed in the exception, and you can see that in this particular case this is what is being returned back to the application.
异常中还显示了通信错误,可以看到,在这种特定情况下,这就是要返回给应用程序的内容。
In a real-world application, additional exception handling would be needed to handle this sort of situation.
在现实的应用程序中,需要额外的异常处理来处理这类情况。
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.
通过打开异常跟踪,您将可以提供堆栈的多个快照作为从应用程序代码层冒出的异常。
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.
当用户设置自己的密码时,会对他们施加某些规则;这些规则应该应用于所有用户,但是应用程序的所有者例外。
Application owner accounts should be the only exception to the password policy rule that is being used.
应用程序所有者账户应该是密码策略规则的惟一例外。
While it performs the rollback automatically, it also converts your hopefully meaningful and descriptive application exception to a generic one.
当它自动执行回滚的同时,也将您有含义的描述的应用程序异常转换成了通用的异常。
Transactions enable us to delegate many elements of exception handling and recovery to the TPM and the RMs, simplifying our code and freeing us to think about application logic instead.
事务使我们能够将很多异常处理和恢复工作委托给TPM 和RM,从而简化了我们的代码,并使我们能够空出更多时间来考虑应用程序逻辑。
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.
您还经常需要给这些更具体的异常(这些异常也是主应用程序异常的子类)提供子类,以提供更具体的异常。
One of the mistakes often made in this regard is to replicate under Exception or Error a tree of application objects.
在这方面经常犯的一个错误是在Exception或者Error下复制了一棵应用程序对象树。
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层方法预期处理和响应单个应用程序异常,正如我们在先前的一些示例中所做的一样。
An exception to this is if your application prefers smaller packets, and this includes web applications on the Internet, since most Internet connections do not support jumbo frames.
这种情况的一个例外是有些应用程序可能会喜欢更小的数据包,这样的应用程序包括Internet上的一些web应用程序,原因是大多数Internet连接都不支持极大帧。
This behavior is the exception, and would usually occur only during a network or application outage. The CF structure size required to hold only the PTR messages would be
此行为属于例外,仅会在网络或应用程序停工期间出现。
Exception handling is the basic requirement of every application to handle any unexpected behavior of the application.
异常处理是每个应用程序的基本要求,以便处理应用程序的任意意外行为。
The container must pass application exceptions through to the EJB client without changing the exception nor changing the transaction.
容器必须将应用程序异常传递到EJB客户端并且不改变该异常以及事务。
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.
延迟抓取的另一个问题就是在获取到请求的数据前要一直打开数据库连接,否则应用就会抛出一个延迟加载异常。
Imagine this scenario: Your application gets an exception, the exception handler kicks in and you have set it up to log to a file.
想象一下这个情形:应用程序发生了一个异常,异常处理跟踪了该异常,并建立了一个日志文件。
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应用程序总线的系统异常目的地。
This leads to the exception messages that you might have noticed when you ran the application for the first time.
这将导致您在第一次运行该应用程序时可能看到的异常消息。
We will build a symptom database that describes this application exception and the steps required to remedy the problem.
我们将创建一个症状数据库,该数据库描述这个应用程序异常以及改正该问题所需的步骤。
Although there are cases where a remote application legitimately needs to set the message header fields, this is the exception rather than the rule.
虽然远程应用程序有时需要设置消息头部字段,但这只是例外情况,而不是规则。
If a service thread does not handle an exception due to programming error, it will kill the whole application.
如果服务线程因编程错误而没有处理某个异常,则会造成整个应用程序崩溃。
To fix the application, you should, for example, divide it into modular parts and provide exception handlings for each part that will make it easier for you to identify the source of the problem.
如果选择修复应用程序,就应该将其分成不同的模块部分并为每个部分提供异常处理以便确定问题的根源。
Only members of this community are permitted to use the composite application (an exception are the portal administrators who have special rights on applications).
只有这个社区的成员被允许使用复合应用程序(除了有特殊权限的门户管理员之外)。
If we had added a getValue method to class Leaf, we would either have to return some sort of flag value indicating that the method application is non-sensical or actually throw an exception.
如果我们已经向Leaf类添加了getValue方法,我们要么是不得不返回一些类型的标志值表明此方法应用是无意义的,要么是实际抛出一个异常。
An exception to this inheritance rule, where a process might acquire greater privileges than its owner, is an application with the special setuid or setgid bit enabled, as shown by ls.
这一继承规则有一个例外情况,即应用程序启用了特殊的setuid或setgid位,如ls显示的那样,在此情况下,某个进程可能会获得比其所有者更高的权限。
The Add Records with Failure menu item in the transaction demo application demonstrates what happens to a transaction when an exception occurs sometime during the operation.
TransactionDemo应用程序中的AddRecordswithFailure菜单项演示了当操作过程中发生异常时事务将如何处理。
However, you cannot truly create Application Developer Web Project features in a headless environment. If you try to do so, you'll get the following exception.
尽管如此,您不可能真正地在一个headless的环境里创建Application DeveloperWeb项目的特征。
As the exception clause indicating the principles for trade mark registration and prior application, this clause is aimed to protect the unregistered trademarks which have become influential.
这是商标注册原则和申请在先原则的例外条款,其目的是对有一定影响的未注册商标进行保护。
应用推荐