Problem 1
List five common examples of exceptions.
Problem 2
Give several reasons why exception-handling techniques should not be used for conventional program control.
Problem 3
Why are exceptions particularly appropriate for dealing with errors produced by methods of classes in the Java API?
Problem 4
What is a "resource leak"?
Problem 5
If no exceptions are thrown in a try block, where does control proceed to, when the try block completes execution?
Problem 6
Give a key advantage of using catch( Exception exceptionName ).
Problem 7
Should a conventional application catch Error objects? Explain.
Problem 8
What happens if no catch handler matches the type of a thrown object?
Problem 9
What happens if several catch blocks match the type of the thrown object?
Problem 11
What is the key reason for using finally blocks?