• Coding by exception: Adding new code to handle each special case as it is recognized.

    靠异常编程(Coding by exception):当有特例被发现时才添加新代码去解决。

    youdao

  • Please note that you still need to throw whatever exception is caught by the invoked code (in this case, IOException).

    请注意您还是需要抛出由被调用代码捕获的异常(在本例中,为IOException)。

    youdao

  • If the content isn't supported, the code throws an exception, which is caught by the try-catch block.

    如果内容不受支持,那么代码抛出一个异常,此异常由try - catch块捕捉到。

    youdao

  • This checked exception — the only one defined by the scripting package — indicates that the engine failed to parse or execute the given code.

    这个选中的异常(脚本包中定义的惟一一个异常)表示引擎无法解析或执行给定的代码。

    youdao

  • Your handler code can make use of the information passed by the call-backs, but cannot affect the parsing (except by throwing an exception).

    处理程序代码可以使用这些回调中传递的信息,但是不能影响解析过程(除了引发一个异常)。

    youdao

  • 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.

    通过在应用程序中放置异常处理代码,可以处理用户可能遇到的大多数错误并使应用程序能够继续运行。

    youdao

  • Your code can throw an exception in one language and that exception can be caught and understood by an object written in another language.

    您的程序码可以用某一种语言掷回例外状况,而以其他语言撰写的物件也可以捕捉和了解这个例外状况。

    youdao

  • If your code attempts to divide by 0, an exception will be thrown.

    如果你的代码试图把0当作除数,一个异常便会被丢出。

    youdao

  • You can tell the debugger to break on any exception that is not handled by a handler in user code (" My code ").

    您可以让调试器在遇到任何未由用户代码(“我的代码”)中的处理程序处理的异常时中断执行。

    youdao

  • Cleanup occurs even when an exception is raised by the protected code.

    即使受保护的代码引发异常,也进行清理。

    youdao

  • 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.

    例如,在单独的应用程序域中调用方法的代码必须能够找到包含远程调用引发的异常的程序集。

    youdao

  • 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.

    异常在出现问题时由代码引发,并在堆栈中向上传递,直到应用程序对其进行处理或者程序失败。

    youdao

  • 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.

    当保护区块的程序码出现例外状况时,会按顺序搜寻对应的处理常式,并执行第一个符合筛选器条件。

    youdao

  • By default, the runtime throws an exception to managed code by mapping the failure HRESULT to an equivalent managed exception.

    默认情况下,运行时会将失败的HRESULT映射到一个等效的托管异常,从而向托管代码引发异常。

    youdao

  • 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.

    单纯根据堆栈跟踪可能很难指出产生异常的原因,而且当您的代码是由应用程序服务器托管时情况会更加复杂。

    youdao

  • 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.

    单纯根据堆栈跟踪可能很难指出产生异常的原因,而且当您的代码是由应用程序服务器托管时情况会更加复杂。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定