This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Question over NumberFormatException  RSS feed

 
Jeena Jeen
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Something really nice I have seen from a Senior from SUN : (!checkedException)!=unchekedException...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!