File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Joined: Jun 27, 2008
Nov 11, 2008 02:52:00
I have one doubt....
/* Exception occurs */
What if,any of the exceptions occurs in the try block???
catch clause is not there to handle the exception...
Joined: Sep 13, 2008
Nov 11, 2008 02:56:00
In case of unchecked exceptions, the finally block will be executed and the exception will be called to the calling method.
In case of checked exceptions, you have to declare the exception in the methods or handle it in any of the functions in the call stack.
I agree. Here's the link:
Try Catch Block
can a constructor throw exception?
JNI UnsatisfiedLinkError only thrown once
Newbie ; NullPointerException
valueChangeListener and Exceptions
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014