This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Exception" Watch "Exception" New topic


simmi kamal

Joined: Sep 07, 2007
Posts: 17
hello ranchers,

I just wanted to get clarified, Is NumberFormatException checked Exception or Runtime Exception??
Nabila Mohammad
Ranch Hand

Joined: Nov 05, 2007
Posts: 661
It is Runtime Exception,coming under IllegalArguementException.
Hope that helps.

The future belongs to those who believe in the beauty of their dreams.Dream BIG!
Prabhu Venkatachalam
Ranch Hand

Joined: Nov 16, 2005
Posts: 502

Class which extends RuntimeException are all called Runtime exceptions.

Java Doc

Prabhu Venkatachalam<br />SCJP 1.4,SCWCD 1.4<br />
simmi kamal

Joined: Sep 07, 2007
Posts: 17
Thanks Nabila and Prabhu for clearing my doubt.
I agree. Here's the link:
subject: Exception