go top

interruptedexception

网络释义

  中断异常

线程中断异常(InterruptedException)是当前线程被中断的表现之一。遇到这个异常时,如果你不知道如何处理,你应当向上抛出。

基于113个网页-相关网页

双语例句

  • But then the compiler or IDE balks that you haven't dealt with the checked InterruptedException.

    但是编译器或IDE报错说没有处理检查到的InterruptedException。

    youdao

  • When a blocking method detects interruption and throws InterruptedException, it clears the interrupted status.

    当一个阻塞方法检测到中断并抛出InterruptedException时,它清除中断状态。

    youdao

  • Sometimes throwing InterruptedException is not an option, such as when a task defined by Runnable calls an interruptible method.

    有时候抛出InterruptedException并不合适,例如当由Runnable定义的任务调用一个可中断的方法时,就是如此。

    youdao

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

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

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