正在加载图片...
Objectives To know what is exception and what is exception handling (§152) To distinguish exception types Error(fatal)vs. Exception(non- fatal), and checked VS. uncheck exceptions(8 15.2) To declare exceptions in the method header($ 15.3) ● To throw exceptions out of a method(§15.3 o To write a try-catch block to handle exceptions($ 15.3 o To explain how an exception is propagated(8 15. 3) o To rethrow exceptions in a try-catch block(8 15.4) o To use the finally clause in a try-catch block($ 15.5) ● To know when to use exceptions(§156) o to declare custom exception classes(8 15.7 Optional) tional o To apply assertions to help ensure program correctness(8 15.8) Liang, Introduction to Java Programming, revised by Dai-kaiyuLiang,Introduction to Java Programming,revised by Dai-kaiyu 2 Objectives ⚫ 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)
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有