• If your code assumes that a particular exception must be an IOError, take advantage of the language's precision, and say so.

    如果您的代码假设某个特定的异常一定是一个IOError,那么利用该语言的精确性,就这么说。

    youdao

  • If process 's implementation left it with a fault that resulted in a ValueError, for instance, rather than an IOError, the last handler above would at least report out ValueError as that class name.

    举例来说,如果process的实现产生了一个导致ValueError而不是IOError的错误,上面最后一个处理程序至少会将ValueError作为类名报告上来。

    youdao

  • If process 's implementation left it with a fault that resulted in a ValueError, for instance, rather than an IOError, the last handler above would at least report out ValueError as that class name.

    举例来说,如果process的实现产生了一个导致ValueError而不是IOError的错误,上面最后一个处理程序至少会将ValueError作为类名报告上来。

    youdao

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

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

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