Presentation is loading. Please wait.

Presentation is loading. Please wait.

YG - CS170.

Similar presentations


Presentation on theme: "YG - CS170."— Presentation transcript:

1 YG - CS170

2 YG - CS170

3 YG - CS170

4 YG - CS170

5 The Basic Concept of Exception Handling
What is exception? - Run-time errors or unexpected results - Examples: Divided by zero, array out of bound, data type mismatch, file not found and so on. What is exception handling? - Mechanism to deal with exceptions (try, throws, catch, and finally) Why exception handling? - Robust and fault-tolerant - Execution flow control - Debugging - Readability YG - CS170

6 The Basic Concept of Exception Handling (continue)
How to handling exceptions? - Library classes (Exception API) - Programmer-defined classes YG - CS170

7 YG - CS170

8 YG - CS170

9 YG - CS170

10 YG - CS170

11 YG - CS170

12 YG - CS170

13 YG - CS170

14 YG - CS170

15 YG - CS170

16 YG - CS170

17 YG - CS170

18 YG - CS170

19 YG - CS170

20 YG - CS170

21 YG - CS170

22 YG - CS170

23 YG - CS170

24 YG - CS170

25 YG - CS170

26 YG - CS170

27 YG - CS170

28 YG - CS170

29 YG - CS170

30 YG - CS170

31 YG - CS170

32 YG - CS170

33 YG - CS170


Download ppt "YG - CS170."

Similar presentations


Ads by Google