This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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...
 
GeeCON Prague 2014
 
subject: Question over NumberFormatException