They will not be prepared to handle an exception that unexpectedly bubbles up from compare .
它们没有准备好处理compare中意外出现的异常。
You want to partially handle an exception before passing it on for additional handling.
所需部分处理异常之前将它传递进行额外处理。
Any arbitrary code can enter a When block to decide whether or not to handle an Exception.
任何的代码都可以添加When去决定是否要处理某个异常。
If a service thread does not handle an exception due to programming error, it will kill the whole application.
如果服务线程因编程错误而没有处理某个异常,则会造成整个应用程序崩溃。
For example, an administrative staff could handle an exception in a task (for example, invalid order, system failure).
例如,管理员可能处理任务中的异常(例如,无效的命令、系统崩溃)。
You need to obtain a value from a dictionary, without having to handle an exception if the key you seek is not in the dictionary.
你需要从字典中获得一个值,不要处理在字典里找不到你所需要的键值的异常。
The only way for a constructor to handle an exception from a constructor initializer is to write the constructor as a function try block.
构造函数要处理来自构造函数初始化式的异常,唯一的方法是将构造函数编写为函数测试块。
If the caller won't be able to handle the exception in a meaningful way, consider throwing an unchecked (run-time) exception.
如果调用者不能以有意义的方式处理这个异常,那么考虑抛出一个未检查的(运行时)异常。
What does that say? It says if in the code up here I get an exception of that sort, I'm going to go to this place to handle it.
这意味着如果在代码中,我得到一个这样的异常,我能到这里来处理它。
It is used to handle exceptions and to specify a view to render when an exception occurs.
它可以捕获异常,并且在异常发生时指定一个视图进行输出。
The SQLWarning class inherits from the SQLException class; however, a SQL warning is less severe than an SQL exception, so it's better to handle them separately.
sqlwarning类继承自sqlexception类;但是SQL警告不如SQL异常那么严重,所以更好的方法是分别处理它们。
When an exception is thrown, the runtime will begin to look for the nearest catch clause whose filters specify that it can handle the exception.
在引发异常时,运行库将开始查找其筛选器指定它可以处理该异常的最近的 catch 子句。
If there is an exception at a particular step, the intermediate exception event catches the exception and passes it to the activity, which is designed to handle exceptions.
如果某个特定步骤出现异常,中间异常事件(intermediateexception event)将捕获异常并将其传递到设计用于处理异常的活动。
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.
这些考虑事项仅仅是整体异常处理和错误战略的一部分,此类战略必须详述如何处理所有类型的异常情况,而不仅仅是超时。
As an alternative, you can catch this exception directly in your code and handle it some other way (perhaps printing out the actual error message along with usage information, for instance).
一个替代的方法是,您也可以在代码中直接捕捉这个异常,并且用其他方式处理异常(例如,可能会与使用信息一起输出真正的错误消息)。
The proper way to handle this is an exception.
处理它的正确的方法是捕获异常。
An exception specifier can omit the parameter name when a catch needs to know only the type of the exception in order to handle it.
说明符的类型决定了处理代码能够捕获的异常种类。
In this case, if an exception occurs, the exception will take longer to handle.
在此情况下,如果发生异常,将需要更长的时间处理。
It is an exception, but Indy knows about it and will handle it for you.
它是一个异常,但是Indy组件将会为您处理它。
Word processing systems are designed to handle hyphenation in various ways, one of which may call for the use of an exception dictionary.
在字(词)处理系统中设计有各种处理连字符的方法,其中的一种需要使用一种例外字典。
If an exception occurs in a method that is not equipped to handle the exception, the exception is propagated back to the calling method, or the previous method.
如果发生异常的方法不具备处理异常的功能,异常将被传播回调用方法或前一个方法。
An exception is a situation in which a program has an unexpected circumstance that the section of code containing the problem is not explicitly designed to handle.
异常是程序的一个未曾预料到的环节,没有代码被明确地设计用来处理包含问题的代码片断。
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.
当某个任务引发了它无法处理的异常时,运行时将把异常堆栈跟踪打印至控制台,然后将线程返回至线程池。
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.
当终结器引发它无法处理的异常时,运行时将把异常堆栈跟踪打印至控制台,然后允许终结器线程继续运行终结器。
The final example shows how to handle those cases when you must throw an exception during execution of a query.
最后的范例显示在必须于查询执行期间掷回例外状况时,如何处理这些情况。
Do not catch an exception unless you know how to handle it so that you do not corrupt the state of your program.
如果您不知道如何处理例外状况,请勿加以拦截,以免破坏程序的状态。
Do not catch an exception unless you know how to handle it so that you do not corrupt the state of your program.
如果您不知道如何处理例外状况,请勿加以拦截,以免破坏程序的状态。
应用推荐