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 Exception 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 "Exception" Watch "Exception" New topic
Author

Exception

simmi kamal
Greenhorn

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 />prabhu.venkatachalam@gmail.com
simmi kamal
Greenhorn

Joined: Sep 07, 2007
Posts: 17
Thanks Nabila and Prabhu for clearing my doubt.
 
GeeCON Prague 2014
 
subject: Exception