Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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:
can a constructor throw exception?
valueChangeListener and Exceptions
Try Catch Block
Newbie ; NullPointerException
JNI UnsatisfiedLinkError only thrown once
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013