Which types of exceptions can not be captured by a Java program?

Dermot Hennessy



All Exceptions and Errors can be captured by the user using

catch (Throwable t)

The question might be better put 'Which types of exceptions should NOT be captured by the user?'. You might be advised to refer to the Java Tutorial's treatment of the topic. Pay particular attention to the last lesson in the Trail - "Runtime Exceptions--The Controversy".