这极为简单,使用错误的参数类型调用构造函数或方法时,会引发异常。
This is extremely simplistic and leads to an exception being thrown when a constructor or method is called with the wrong argument types.
某些派别的信徒支持使用异常来检查参数和其他的前置条件,使用错误编码来报告程序中出错的处理。
Some disciples espouse using exceptions to check parameters and other preconditions, and error codes to report processing errors within the function.
当流程在运行过程中出现问题或发生异常情况时,可以使用错误处理程序撤消发生错误的范围中的部分工作或未成功完成的工作。
When a problem or exceptional situation occurs while a process runs, you can use a fault handler to undo partial and unsuccessful work for the scope in which the fault occurred.
引入备选过程是为了描述潜在的使用错误以及商业逻辑错误和异常。
Alternate courses will be introduced to describe potential usage errors, as well as business logic errors and exceptions.
您还能“捕捉(catch)”异常,以便使用错误捕获运算符(|)来管理Blue中的错误。
You can also "catch" exceptions to manage errors in Blue with the error-trapping operator (|).
您还能“捕捉(catch)”异常,以便使用错误捕获运算符(|)来管理Blue中的错误。
You can also "catch" exceptions to manage errors in Blue with the error-trapping operator (|).
应用推荐