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".

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact