Otherwise, you will get the Exception error shown in Figure 19.
否则,您将会看到如图19所示的Exception错误信息。
Developers may encounter an SQL Exception error when trying to access the Customer Service utility after having accessed the Derby database from Geronimo's console, or vice versa.
开发人员可能会在通过Geronimo的控制台访问了Derby数据后再尝试访问CustomerService实用程序时遇到SQLException错误,反之亦然。
You can throw any kind of exception you like - checked, runtime, or error - as long as the method signature supports it.
可以抛出您需要的任何类型的异常(已检查、运行时或错误),只要方法签名支持它即可。
Whenever the actual code encounters any type of error, it throws an exception, which then goes to the call stack.
每当实际代码碰到任何类型的错误,它就抛出一个异常,然后该异常就进入调用栈。
If multiple output formats are specified, an error (exception) will be generated and the report will not be run.
如果指定了多个输出格式,那么将生成一个错误(异常)并且不会运行报告。
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,访问范围超出索引是否导致错误消息或异常,等等。
These considerations are just part of an overall exception handling and error strategy that must describe how to handle all kinds of exceptional situations, not just timeouts.
这些考虑事项仅仅是整体异常处理和错误战略的一部分,此类战略必须详述如何处理所有类型的异常情况,而不仅仅是超时。
But if I say turn this into a float, ah it throws a value error exception.
它就会抛出一个值错误异常了,它会告诉我输入了一种错误的值。
V8 will throw an exception if an error occurs - for example, when a script or function attempts to read a property that does not exist, or if a function is called that is not a function.
当错误发生时,v8会抛出一个异常。比如,当一个脚本或者函数试图去访问一个并不存在的属性,或者调用一个并不是函数的函数。
A special error handler in the client receives this exception and must parse the parser's error message to retrieve the required information!
客户中一个专门的错误处理程序接收这种异常,并且必须在解析器错误消息中检索出需要的信息!
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以及访问范围超出索引是否导致错误消息/异常。
These utility functions include logging, exception/error handling, and monitoring capabilities.
这些实用功能包括日志、异常/错误处理和监视功能。
The first mistake that nonnative speakers make is to return a value indicating an error, instead of throwing an exception.
非原生语言使用者的第一类错误是返回一个表示错误的值,而不是抛出异常。
If there is an error in the processing, an exception is thrown, which is then also formatted as JSON.
如果处理过程中出现错误,将抛出一个异常,这个异常也被格式化为json。
There needs to be more exception handling and more thought put into error paths.
异常处理应该更多,对错误发生的路径也应多加考虑。
Throwing an exception not only unwinds the test but also signals an error.
抛出异常不仅要展开测试,还将报告错误。
An exception is called a name error exception.
一个被称作命名错误的异常。
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可以确保这个错误或者异常被正确的处理,并且任何和这个错误相关的信息都将会被保存下来。
If the username and password match the expected values, this just returns; otherwise, it throws an exception to indicate the error.
如果用户名和密码匹配预期值,那么返回即可;否则,将抛出一个异常表示出错。
I don't have to worry about error codes because the exception has in it the explanatory text of what went wrong.
我无需考虑错误代码问题,因为异常中包含了错误的说明性文字。
If an exception is due to a system level error, then let the error bubble up to the process level so that the exception can be caught in the process level.
如果异常的原因是系统级错误,那么让错误上浮到流程级别,以便在流程级别捕获错误。
I have found that being able to report these exceptions with a specific error code (instead of a generic exception or, even worse, no reported error) has saved me hours tracking bugs.
我发现,在跟踪错误时,用特定的错误码(而不是一般的异常或—甚至更糟—不报告错误)来报告这些异常节省了我数小时的时间。
The Exception value is an internal VMM error code.
Exception值是一个内部VMM错误代码。
A value of null (or nothing) will generate an error (exception).
null值(或空值)将生成一个错误(异常)。
Better error message on exception in getting values in int32type.
在获取Int32Type中的值异常的更友好错误信息。
In the first release of Rational Software Architect 6.0, any runtime exception or error that was not caught would not be displayed, so you were not easily able to determine why your pluglet failed.
在Rational Software Architect 6.0的第一个版本里,没有被抛出的任何运行时异常或错误将不会显示出来,因此您无法容易的判定为什么pluglet不起作用。
If null values are supplied, an error (exception) will occur.
如果提供了null值,将出现一个错误(异常)。
By default, WebSphere Application Server will display a raw exception stack dump of the error.
在缺省情况下,WebSphereApplicationServer会显示该错误一个原始异常堆栈。
ErrorMsg — error messages, including any exception thrown by the XML parser and the JCC driver.
errorMsg——错误消息,包括xml解析器和JCC驱动程序抛出的任何异常。
ErrorMsg — error messages, including any exception thrown by the XML parser and the JCC driver.
errorMsg——错误消息,包括xml解析器和JCC驱动程序抛出的任何异常。
应用推荐