• Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    有关异常原因位置信息可以使用下面异常堆栈跟踪标识

    youdao

  • When a task throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then returns the thread to the thread pool.

    某个任务引发无法处理异常时,运行时将把异常堆栈跟踪打印控制台然后线程返回至线程池。

    youdao

  • When a finalizer throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then allows the finalizer thread to resume running finalizers.

    终结引发无法处理异常时,运行时将把异常堆栈跟踪打印控制台然后允许终结器线程继续运行终结器。

    youdao

  • To deal with this, you can generate a stack trace in the constructor of the exception object during the throw exception statement.

    为了解决问题,可以抛出异常语句期间异常对象构造函数生成一个堆栈跟踪

    youdao

  • When the server reports an unexpected exception, you can examine the classes and methods of the associated stack trace to determine which application caused, or was involved in, the exception.

    服务器报告一个意外的异常时,可以检查关联堆栈跟踪方法确定哪个应用程序导致了异常或者与异常有关

    youdao

  • If this exception isn't caught, it will immediately kill the application with an error message and stack trace dumped to the console.

    如果这个异常没有被捕捉到立即关闭应用程序一条错误消息跟踪输出控制台

    youdao

  • Creating and logging the exception incurs some overhead, but the stack trace is invaluable for tracking down who caused the problem.

    创建记录异常日志会导致一些时间开销但是堆栈跟踪可以好地用于捕获问题原因

    youdao

  • In the second case, the exception has been logged and the exception message and stack trace is available, but it doesn't contain the necessary information to resolve the exception's cause.

    第二情况中这个异常记录下来,并且可以看到异常消息能够跟踪但是并不包含足够发现异常根源必要信息

    youdao

  • The way to fix it is to examine the exception that caused the ExceptionInInitializerError (shown in the stack trace under caused by:) and find a way to stop this exception from being thrown.

    修复这个错误方法检查造成ExceptionInInitializerError异常(堆栈跟踪的Causedby显示)寻找阻止抛出这个异常的方式

    youdao

  • At DIAGLEVEL 3 (default), the db2diag.log captures a stack trace back, and even gives you the line number within the code where the exception is caught.

    DIAGLEVEL3(默认设置)上,db2diag . log捕获堆栈跟踪甚至给出代码捕获到异常

    youdao

  • Now we'll add a bit of complexity by accessing the stack trace of an exception.

    现在我们通过访问异常堆栈跟踪信息增加一点复杂性

    youdao

  • Adding an exception to the trace logger (Listing 3) prints the error message along with a full stack trace.

    异常添加跟踪日志记录器(清单3)打印错误消息完整堆栈跟踪。

    youdao

  • And, if you want to log where the exception happened, you don't have to manually parse the stack trace.

    并且如果记录下异常发生在何处,您不必手工分析堆栈跟踪信息

    youdao

  • The stack trace includes frames from both the new and original location, with the text "End of stack trace from previous location where exception was thrown" separating the two.

    堆栈跟踪同时包括新的原来位置通过Endofstack tracefrompreviouslocationwhereexceptionwasthrown”文字分割两者。

    youdao

  • But the trace of every method invoked before the exception was thrown is already available in the exception's stack trace which leaves this kind of logging redundant.

    但是每个方法调用之前异常抛出痕迹已经可以异常堆栈跟踪使得这种记录冗余

    youdao

  • Logs an error using the message, and optionally the stack trace, from the given exception.

    使用来自给定异常消息堆栈跟踪(选)记录一个错误

    youdao

  • Logs a warning using the message, and optionally the stack trace, from the given exception.

    使用来自给定异常消息堆栈跟踪(选)记录一个警告

    youdao

  • Filtered information includes a standard remoting exception but no server stack trace.

    筛选资讯包括标准远端例外状况没有伺服器堆叠追踪

    youdao

  • Complete exception information includes the exact server exception and the server stack trace.

    完整例外状况资讯包括正确伺服器例外状况伺服器堆叠追踪

    youdao

  • The stack trace is a list of the method call hierarchy that starts with the method that throws the exception and ends with the method that catches the exception.

    堆栈跟踪方法调用层次结构列表引发异常方法开始,以捕捉该异常的方法结束

    youdao

  • Logs an error using the message, and optionally the stack-trace from the given exception and any inner exceptions.

    使用指定之例外状况任何内部例外状况讯息(可以是堆叠追踪)记录错误

    youdao

  • Logs an error using the message, and optionally the stack-trace from the given exception and any inner exceptions.

    使用指定之例外状况任何内部例外状况讯息(可以是堆叠追踪)记录错误

    youdao

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

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

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