中英
抛出异常
  • 简明
  • 1
    抛出异常:指在编程中,当程序运行过程中发生错误或异常情况时,显式地中断程序的执行,并将错误信息传递给调用者。
  • 网络释义
  • 1

     raise

    ... begin #开始 raise.. #抛出异常 ..ensure #不管有没有异常,进入该代码块 ...

  • 2

     Raising Exceptions

    ... 处理异常 Handling Exceptions 抛出异常 Raising Exceptions 用户自定义异常 User-defined Exceptions ...

短语
查看更多
  • 双语例句
  • 原声例句
  • 1
    记住一点,该方法从不抛出异常
    Remember that the method never throws an exception.
  • 2
    抛出异常是事件处理器的责任。
    Throwing exceptions is the responsibility of the event handlers.
  • 3
    抛出异常不仅要展开测试,还将报告错误。
    Throwing an exception not only unwinds the test but also signals an error.
查看更多