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)
reg. super class exceptions
Joined: Aug 29, 2006
Sep 17, 2006 05:58:00
"cannot catch an exception unless it is thrown in try block"
//gives compiler error.
but you can catch a super class exception which is not thrown in try block.
// no compiler error
what are all the super class exceptions?
whether i should know all the exceptions for the exam (1.4)
Joined: May 02, 2006
Sep 17, 2006 06:26:00
What can you catch when try block does not throw exception?
[ September 17, 2006: Message edited by: Aniket Patil ]
SCJP 5.0 | SCWCD 1.4 <br /> <br />If you don't know where you are going, any road will take you there!
I agree. Here's the link:
- it saves me about five hours per week
subject: reg. super class exceptions
Regarding try / catch block in Exception
true or false?
ParseException vs Exception
Throwing exception in overriding methods
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013