If your data access code catches an exception, do not ignore it.
如果数据访问代码捕获了一个异常,不要忽略它。
This file must be in the classpath or running the code will generate an exception.
这个文件必须在类路径中,否则运行代码将产生一个异常。
Otherwise, if the protected code threw an exception, the lock might never be released!
否则,如果受保护的代码将抛出异常,锁就有可能永远得不到释放!
Client code calling the data logic method can catch the user-defined exception.
客户端代码调用数据逻辑方法可以捕获用户定义的异常。
So the above code does not trigger a class cast exception.
因此上述代码不会触发类转换异常。
The Exception value is an internal VMM error code.
Exception值是一个内部VMM错误代码。
Ignore the MQ Exception, with reason code 2033, at the end.
忽略结尾带有原因代码2033的MQ Exception。
In the next section, you will code your own exception handler to handle the SQLException.
在下一节中,您将对异常处理程序进行编码,以便处理SQLException异常。
The exception halts the process much like the original code, which threw a BuildException.
这个异常会暂停这一过程,就像初始代码一样,只不过初始代码会抛出一个BuildException。
The code immediately breaks with an exception.
代码立即异常而终止。
No exception handling has been done, and the code is not unbreakable.
没有异常处理已经完成,并且该代码不是牢不可破的。
No exception is thrown because the code never even gets the opportunity to run.
因为代码永远没有机会执行,所以没有任何的异常抛出。
It is oddly similar to both, with the exception that Rake actually is Ruby code.
它和二者都相似,不过Rake实际上是Rudy代码。
Your code needs to handle this exception.
您的代码需要处理该异常。
Exception-handling code can be easily added to increase program reliability.
可以轻松添加异常处理代码,以增加程序的可靠性。
The second alert box shows the code that generated the exception.
第二个警告对话框显示生成异常的代码。
The error code is a unique number that is assigned to represent the exception.
错误代码是所分配的、表示异常的唯一编号。
Every exception consists of an error code and a text string that describes the source.
每个异常都由错误代码和描述错误起因的文本字符串组成。
The exception may have occurred in code that you did not write.
异常也有可能发生在不是您编写的代码中。
You cannot catch stack overflow exceptions, because the exception-handling code may require the stack.
您无法捕捉堆栈溢出异常,因为异常处理代码可能需要堆栈。
Follow best practices for exception management in your code.
遵循代码中的异常管理的最佳做法。
Follow best practices for exception management in your code.
遵循代码中的异常管理的最佳做法。
应用推荐