复旦大学:《程序设计》课程教学资源(PPT课件)Chapter 15 Exceptions and Assertions

⚫ To know what is exception and what is exception handling (§15.2). ⚫ To distinguish exception types: Error (fatal) vs. Exception (non￾fatal), and checked vs. uncheck exceptions (§15.2). ⚫ To declare exceptions in the method header (§15.3). ⚫ To throw exceptions out of a method (§15.3). ⚫ To write a try-catch block to handle exceptions (§15.3). ⚫ To explain how an exception is propagated (§15.3). ⚫ To rethrow exceptions in a try-catch block (§15.4). ⚫ To use the finally clause in a try-catch block (§15.5). ⚫ To know when to use exceptions (§15.6). ⚫ To declare custom exception classes (§15.7 Optional). ⚫ To apply assertions to help ensure program correctness (§15.8).
文件格式:PPT,文件大小:494.5KB,售价:11.66元
文档详细内容(约41页)
点击进入文档下载页(PPT格式)

您可能感兴趣的文档

点击购买下载(PPT)

下载及服务说明

  • 购买前请先查看本文档预览页,确认内容后再进行支付;
  • 如遇文件无法下载、无法访问或其它任何问题,可发送电子邮件反馈,核实后将进行文件补发或退款等其它相关操作;
  • 邮箱: