go top

捕捉异常

网络释义

  Catching an Exception

7.2 捕捉异常 (Catching an Exception) 可以利用单一或连串的catch子句来捕捉(catch) 被抛出的异常对象. 如果我们想要捕捉任何型别的异常, 可以用从catch-all的方式.

基于40个网页-相关网页

  Catching Exception

捕捉异常 ( Catching Exception ) 类型匹配 异常捕捉的类型匹配之苛刻程度可以和模板的类型匹 配媲美,它不允许相容类型的隐式转换,比如,抛掷char类 型用int型就捕...

基于28个网页-相关网页

  try/except/finally

... class:类 try/except/finally捕捉异常 del:删除引用 ...

基于2个网页-相关网页

  try

... lambda 创建一个匿名函数 try 捕捉异常 True 布尔真 ...

基于1个网页-相关网页

短语

异常捕捉 try...catch

有道翻译

捕捉异常

Catch anomalies

以上为机器翻译结果,长、整句建议使用 人工翻译

双语例句

  • 任务捕捉异常并且正确地清晰地用户报告状态

    The task catches that exception and reports the state back properly and cleanly to the user.

    youdao

  • 之前版本的。NET里,捕捉异常和抛出异常线程一般相同的。

    In previous versions of.net exceptions were expected to be caught on the same thread that they were thrown on.

    youdao

  • API契约方式需要定义抛出异常客户机捕捉异常的装置需要知道

    The API-contract way is to define a class known to both the throwing client and the catching harness.

    youdao

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

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

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