File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Need clarification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Need clarification" Watch "Need clarification" New topic
Author

Need clarification

Rajesh k Jha
Ranch Hand

Joined: May 10, 2009
Posts: 72
Can somebody send me link of Exceptions, i mean which one is the superclass of which(RuntimeException is the superclass of ArithmeticException), I just get confused when i find such question regarding catching the exception is necessary or not(As we dont catch the exception if it is RuntimeException but catch it if it is subclass of Exception)



As i got confused in this programme, whether NumberFormatException is the subclass/subclasses of the RuntimeException or Exception.
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9302
    
  17

You can look at the RuntimeException class here. It contains a list of sub-classes of RuntimeException. But the list is very long. The K&B book covers a list of exceptions that might be on the exam...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14144
    
  18

Please use a meaningful subject line instead of something like "Need Clarification".


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need clarification