You might see the following exception message.
您可能看到下列异常信息。
The exception message is also displayed; this message might contain sensitive information.
同时也显示异常消息;这个消息可能包含敏感信息。
The use of logging mechanisms means that the exception is lost or the exception message is removed.
使用日志机制意味着会丢失异常或异常消息。
For demonstration purposes, the code in Listing 11 simply displays an exception message when a GAE exception is thrown.
出于演示的目的,清单11的代码只是在出现GAE异常时简单地显示一个异常消息。
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.
在第一种情况中,异常消息或整个异常可能会完全丢失,这使我们很难发现问题或者了解问题的基本信息。
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表达式到异常消息将产生更详细的对验证失败的描述,这样大大方便了发现问题。
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表达式到异常消息将产生更详细的对验证失败的描述,这样大大方便了发现问题。
应用推荐