A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Arduino in Action
this week in the
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
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:
- it saves me about five hours per week
Try Catch Block
can a constructor throw exception?
valueChangeListener and Exceptions
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