当然了,这就是信徒们用来质问返回编码和异常之间区别的唯一方法了。
This is, of course, merely one approach disciples may take to the question of return codes versus exceptions.
事件处理程序采集的信息必须编码在一个错误信息中,该错误信息包装在一个异常对象中提交给解析器客户。
The information gathered by the event handler must be encoded in an error message that's wrapped in an exception object and posted to the parser's client.
某些派别的信徒支持使用异常来检查参数和其他的前置条件,使用错误编码来报告程序中出错的处理。
Some disciples espouse using exceptions to check parameters and other preconditions, and error codes to report processing errors within the function.
应用推荐