YG - CS170
YG - CS170
YG - CS170
YG - CS170
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
The Basic Concept of Exception Handling (continue) How to handling exceptions? - Library classes (Exception API) - Programmer-defined classes YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170
YG - CS170