A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ajay Kumar Rana
Joined: Feb 27, 2008
Mar 12, 2008 23:10:00
? where can i get the information that one exception class is subclass of another or not.
Joined: Nov 21, 2001
Mar 12, 2008 23:45:00
By observing the class hierarchy in API, you can get the information that class is of what type !!!
in not subclass of
[ March 12, 2008: Message edited by: Huzefa Zohaib ]
Joined: Oct 27, 2005
Mar 13, 2008 03:37:00
be a subclass of
in the first place?
indicates that a
cannot be formatted into a number.
indicates a file cannot be found. How are these two events related? They aren't!
On the other hand,
is a subclass of
because it is an exception caused by some form of disk I/O. Similarly,
is a subclass
because the string that is formatted is illegal for the formatting methods.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Exceptions query
Need help with HashMap object mapping-- type mismatch how to fix?
Doubt with instance variables and methods of the subclass and superclass
what's the difference of these two statements?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015