In this example, a method tests for a division by zero, and catches the error.

  • 此示例中使用一个方法检测是否有被零除的情况;如果有,则捕获该错误。
目录 查词历史