PPT Slide
How Java handles Exceptions:
If an exception is thrown in a method, then you can do one of two things in response:
1. Catch the exception right then and there, and handle the exception yourself.
You would do this if you have enough information to know how to handle the error.
2. Declare in the method header that whoever
called the method has to handle the error.
You would do this if you don't have enough
information to know how to handle the error.