File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java" Watch "Java" New topic
Author

Java

Paul Arockiaraj
Greenhorn

Joined: Feb 17, 2006
Posts: 7
Dear Friends,

What is Runtime Exception? how do you handle that.

any one give with example program.

thks in adv.
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18965
    
  40

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


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java