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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 12761
    
    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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: tell me about Errors in java.lang package
 
Similar Threads
game compile problems
Exception
How to throw errors in JSP?
How to give classpath while executing servlets
identifier expected errors :(