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 Question over NumberFormatException 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 "Question over NumberFormatException" Watch "Question over NumberFormatException" New topic
Author

Question over NumberFormatException

Jeena Jeen
Ranch Hand

Joined: Feb 11, 2009
Posts: 47
In Chapter 5 of K&B Java 5 (Page 370) its mentioned that NumberFormatException is Programmatically thrown Exception.
But if I see this in java spec then it extends from IllegalArgumentException which extends from RuntimeException .
So this should be a JVM exception rather than programmatically thrown Exception.
Same is the case of IllegalArgumentException.
Doesn't programmtically thrown Exception means Checked/compileTime Exception? Or may be I am mixing up these two things?
Eugene Rabii
Ranch Hand

Joined: Apr 24, 2009
Posts: 30
Something really nice I have seen from a Senior from SUN : (!checkedException)!=unchekedException...
 
wood burning stoves
 
subject: Question over NumberFormatException
 
Similar Threads
Doubt in K&B SCJP 6: topic: AssertionError Source
difference between exceptions thrown by us and thrown by the jvm
Doubt in exceptions thrown by JVM and by programmer
Exceptions thrown by JVM or programmatically
unchecked exceptions handled programmatically