• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java  RSS feed

 
Paul Arockiaraj
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Friends,

What is Runtime Exception? how do you handle that.

any one give with example program.

thks in adv.
 
Henry Wong
author
Sheriff
Posts: 23280
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Paul Arockiaraj:
Dear Friends,

What is Runtime Exception? how do you handle that.

any one give with example program.

thks in adv.


A Runtime exception is merely an exception that is, or is derived from, a java.lang.RuntimeException class. To use, it is no different from any other exception. To compiler, it is unchecked -- meaning that it won't require you to declare your class as throwing such an exception, nor require you to handle it.

Henry
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!