The catch clause argument is always of type__________.
A. Exception
B. Exception but NOT including RuntimeException
C. Throwable
D. RuntimeException
E. CheckedException
F. Error
Answer: C
fooled into thinking that this block can handle any exception.
// Exception handling code for ANY exception
You can also use the java.lang.Throwable class here, since Throwable is the parent class for the
application-specific Exception classes. However, this is discouraged in Java programming circles.
This is because Throwable happens to also be the parent class for the non-application specific
Error classes which are not meant to be handled explicitly as they are catered for by the JVM
Note: The Throwable class is the superclass of all errors and exceptions in the Java language.
Only objects that are instances of this class (or one of its subclasses) are thrown by the Java
Virtual Machine or can be thrown by the Java throw statement.
A throwable contains a snapshot of the execution stack of its thread at the time it was created. It
can also contain a message string that gives more information about the error.