dcsimg
exception in java
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   gaurav_bhardwaj
Posted On:   Thursday, May 31, 2001 01:47 AM

which type of exceptions can not be captured by a user?

Re: exception in java

Posted By:   Luigi_Viggiano  
Posted On:   Thursday, May 31, 2001 02:10 AM

If the user turn off the pc :)

Re: exception in java

Posted By:   Dermot_Hennessy  
Posted On:   Thursday, May 31, 2001 01:59 AM

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




Hope this helps,

Dermot
About | Sitemap | Contact