1. You might see the following exception message.
您可能看到下列异常信息。

来自互联网

2. The exception message is also displayed; this message might contain sensitive information.
同时也显示异常消息;这个消息可能包含敏感信息。

来自互联网

3. The accompanying exception message is "The object... has been modified since it was retrieved."
附带的异常消息为“Theobject…hasbeenmodifiedsinceitwas retrieved .”。

来自互联网

4. The use of logging mechanisms means that the exception is lost or the exception message is removed.
使用日志机制意味着会丢失异常或异常消息。

来自互联网

5. Listing 1 shows the a snippet from wbe_install_debug.log showing an exception message during installation.
清单1给出wbe_install_debug . log的片段,其中包含安装期间的一个异常消息。

来自互联网

6. For demonstration purposes, the code in Listing 11 simply displays an exception message when a GAE exception is thrown.
出于演示的目的,清单11的代码只是在出现GAE异常时简单地显示一个异常消息。

来自互联网

7. In the first case, either the exception message or the entire exception is completely lost, making it difficult to know that the problem exists or to gain basic information about it.
在第一种情况中,异常消息或整个异常可能会完全丢失,这使我们很难发现问题或者了解问题的基本信息。

来自互联网

8. Adding XPath expressions to the exception message, as shown in Listing 7, results in a more detailed description of the validation failure, which greatly simplifies locating the problem.
如清单7所示,添加XPath表达式到异常消息将产生更详细的对验证失败的描述,这样大大方便了发现问题。

来自互联网

9. In the second case, the exception has been logged and the exception message and stack trace is available, but it doesn't contain the necessary information to resolve the exception's cause.
在第二种情况中,这个异常被记录下来,并且可以看到异常消息,也能够跟踪堆,但是它并不包含足够发现异常根源的必要信息。

来自互联网

10. Some of the typical string-related checks would validate whether an empty string has 0 length, accessing out-of-index results in an error message or exception, and so on.
与字符串相关的一些典型的检查,会验证空字符串的长度是否为 0,访问范围超出索引是否导致错误消息或异常,等等。

来自互联网

11. This is where the exception is caught and its primary message is displayed.
这就是异常被捕获并且显示出原始的信息的位置。

来自互联网

12. A special error handler in the client receives this exception and must parse the parser's error message to retrieve the required information!
客户中一个专门的错误处理程序接收这种异常,并且必须在解析器错误消息中检索出需要的信息!

来自互联网

13. Although sending messages to a log file can be quite useful, there are often times when you would also like to display a user-friendly error message in the event of an unrecoverable exception.
虽然向一个日志文件发送消息相当有用,但是很多时候您可能还想在发生不可恢复的异常时显示一个用户友好的错误消息。

来自互联网

14. If this exception isn't caught, it will immediately kill the application with an error message and stack trace dumped to the console.
如果这个异常没有被捕捉到,它将立即关闭应用程序,并将一条错误消息和栈跟踪输出到控制台。

来自互联网

15. Always have exceptional handling mechanism for the message flows rather than relying on the default broker exception handler.
始终为消息流配备异常处理机制,而不要依赖缺省代理异常处理程序。

来自互联网

16. The information gathered by the event handler must be encoded in an error message that's wrapped in an exception object and posted to the parser's client.
事件处理程序采集的信息必须编码在一个错误信息中,该错误信息包装在一个异常对象中提交给解析器客户。

来自互联网

17. In that situation, a real exception could be thrown with a real reason, that could easily be turned into a clear XML reply message for the consumer.
在这种情况下,可以抛出一个带有真实原因的真正异常,它可以很容易地被转换回一条清晰的XML回复信息提供给客户。

来自互联网

18. In addition to the business exception declared, the client can receive system exceptions such as connection error that happens while sending the message.
除声明的业务异常外,客户端还可以接收系统异常,如发送消息时发生的连接错误。

来自互联网

19. Some of the typical string-related checks include verifying that an empty string has 0 size and accessing out of index from the string results in an error message/exception.
与字符串相关的典型检查包括检查空字符串的长度是否为 0以及访问范围超出索引是否导致错误消息/异常。

来自互联网

20. When a system exception occurs at the target component during an asynchronous invocation, the message is rolled back to the incoming destination and redelivered.
在异步调用过程中,当目标组件发生系统异常时,消息会回滚到传入目的地,并被重新提交。

来自互联网

21. If the fault is defined simply as an element, then the name of the exception is mapped from the message name, and the package is mapped from the message's namespace (see Listing 5).
如果仅将错误定义为一个元素,则从消息名称映射异常的名称,从消息的命名空间映射数据包(请参见清单5)。

来自互联网

22. WSCI can raise an exception based on a fault message from WSDL, a message content, or an event (for example, Timeout event).
WSCI能抛出一些异常,它们来自于WSDL、信息内容或事件(例如,超时事件)的错误信息。

来自互联网

23. The error page can then display a friendly error message to the user, and then perhaps log the relevant exception information for the system administrator to review at a later time.
错误页面可以显示一个友好的信息给用户,然后可以将相关的异常信息写入日志以供管理员日后查看。

来自互联网

24. When detected in the receiving side, a response message containing the exception is sent to notify the caller.
在接收端检测时,可发送包含异常的响应消息,以通知调用程序。

来自互联网

25. You can define another fault message that reuses your existing fault element, but JAX-RPC maps it to yet another exception; it doesn't reuse the existing exception.
您可以定义重用现有错误元素的另一个错误消息,但是JAX - RPC仍将其映射为另一个异常;它不重用现有异常。

来自互联网

26. When a timeout occurs during the processing of a service request or response message, it is considered an exception and some measure must be taken to deal with the exception.
在处理服务请求或相应消息的过程中出现超时的时候,超时将被视为异常,必须采取某些措施来处理异常。

来自互联网

27. The FFDC reported in the message below provides the exception stack which could help diagnose the problem.
以下消息中报告的FFDC提供异常堆栈,有助于诊断问题。

来自互联网

28. 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显示的是应用程序中仍存在的所有异常,以及当异常抛出时所显示的消息。

来自互联网

29. If an exception occurs at any time during the processing of a message, a SOAP exception is thrown.
如果消息处理过程中有异常出现,一个SOAP异常就被扔出。

来自互联网

30. Log the message and return the control back to the activity where the exception had occurred.
记录消息并将控制权返回发生异常的活动。

来自互联网