• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Question over NumberFormatException

 
Ranch Hand
Posts: 65
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Something really nice I have seen from a Senior from SUN : (!checkedException)!=unchekedException...
 
reply
    Bookmark Topic Watch Topic
  • New Topic