File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes tell me about Errors in java.lang package Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "tell me about Errors in java.lang package" Watch "tell me about Errors in java.lang package" New topic
Author

tell me about Errors in java.lang package

Sekhar Chand
Ranch Hand

Joined: Apr 05, 2006
Posts: 73
hai guys and gals,
i want to know inwhich scenarious we can use Error class and its subclasss.
We cant catch Errors so what is the need of Errors.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Errors are intended for notification of problems that Java can not recover from. See the JavaDocs for Throwable, Error and Exception and this chapter in the language specification.

Bill
 
Don't get me started about those stupid light bulbs.
 
subject: tell me about Errors in java.lang package