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.
通过打开异常跟踪,您将可以提供堆栈的多个快照作为从应用程序代码层冒出的异常。
This checked exception — the only one defined by the scripting package — indicates that the engine failed to parse or execute the given code.
这个选中的异常(脚本包中定义的惟一一个异常)表示引擎无法解析或执行给定的代码。
Figuring out what caused an exception from stack traces alone can be difficult, and it's even more complicated when your code is hosted by an application server.
单纯根据堆栈跟踪可能很难指出产生异常的原因,而且当您的代码是由应用程序服务器托管时情况会更加复杂。
Your handler code can make use of the information passed by the call-backs, but cannot affect the parsing (except by throwing an exception).
处理程序代码可以使用这些回调中传递的信息,但是不能影响解析过程(除了引发一个异常)。
There isn't much going on in the method in Listing 4 except the fact that no exception is thrown by the code.
在清单4的方法中,除了代码不抛出异常的事实外并没有什么太多的事情。
Listing 8 lists the code that was modified in the source of the jfs_mount.c file to create a segmentation fault at line 109 by creating a null pointer exception.
清单8列出了jfs_mount . c文件的源代码中被修改过的代码,我们在代码中创建了一个空指针异常,从而使代码在第109行产生段错误。
Please note that you still need to throw whatever exception is caught by the invoked code (in this case, IOException).
请注意您还是需要抛出由被调用代码捕获的异常(在本例中,为IOException)。
Coding by exception: Adding new code to handle each special case as it is recognized.
靠异常编程(Coding by exception):当有特例被发现时才添加新代码去解决。
If the content isn't supported, the code throws an exception, which is caught by the try-catch block.
如果内容不受支持,那么代码抛出一个异常,此异常由try - catch块捕捉到。
As written, so long as no exception is generated by the code and the ActionForm successfully validates, Struts assumes things worked just fine, and so will the test case.
正如所写的那样,只要代码没有生成异常,ActionForm成功验证,Struts就假定事情工作良好,测试用例也是一样。
But there is a key difference between interrupt handling and process switching: the code executed by an interrupt or by an exception handler is not a process.
然而在中断处理和进程切换之间有一个关键的区别:由中断或异常处理执行的代码不在进程中。
If your code attempts to divide by 0, an exception will be thrown.
如果你的代码试图把0当作除数,一个异常便会被丢出。
By placing exception handling code in your application, you can handle most of the errors users may encounter and enable the application to continue running.
通过在应用程序中放置异常处理代码,可以处理用户可能遇到的大多数错误并使应用程序能够继续运行。
You can tell the debugger to break on any exception that is not handled by a handler in user code (" My code ").
您可以让调试器在遇到任何未由用户代码(“我的代码”)中的处理程序处理的异常时中断执行。
The following example fixes the previous violation by checking the error code and throwing an exception when the call fails.
下面的示例通过在调用失败时检查错误代码并引发异常修复了前面的冲突。
By default, the runtime throws an exception to managed code by mapping the failure HRESULT to an equivalent managed exception.
默认情况下,运行时会将失败的HRESULT映射到一个等效的托管异常,从而向托管代码引发异常。
PC source code. We found there exist some debugs, such as the confusion caused by time zero point, NDP exception, uncontinuous running. We analyze them, and offer solutions to the problems.
PC源程序进行了探究,发现源程序中存在着时间零点引起混乱、NDP例外、无法接续运行等一些问题,我们对这些问题进行了分析,最终问题都得到了相应的解决。
Your code can throw an exception in one language and that exception can be caught and understood by an object written in another language.
您的程序码可以用某一种语言掷回例外状况,而以其他语言撰写的物件也可以捕捉和了解这个例外状况。
For example, code calling a method in a separate application domain must be able to find the assembly containing an exception thrown by a remote call.
例如,在单独的应用程序域中调用方法的代码必须能够找到包含远程调用引发的异常的程序集。
An exception is thrown by code when a problem occurs, and it is passed up the stack until the application handles it or the program fails.
异常在出现问题时由代码引发,并在堆栈中向上传递,直到应用程序对其进行处理或者程序失败。
When an exception is raised by code in a protected block, the set of corresponding handlers is searched in order, and the first one with a matching filter condition is executed.
当保护区块的程序码出现例外状况时,会按顺序搜寻对应的处理常式,并执行第一个符合筛选器条件。
Cleanup occurs even when an exception is raised by the protected code.
即使受保护的代码引发异常,也进行清理。
Cleanup occurs even when an exception is raised by the protected code.
即使受保护的代码引发异常,也进行清理。
应用推荐