All About Class Error in Java

Error is thrown from an application to indicate that some abnormal conditions happened in the application.
The structure of the class-Error is given as:


public class java.lang.Error extends java.lang.Throwable{
//constructor
public Error();
//constructs an empty Error object that is an object with no message specified.
public Error(String message);
//constructs an Error object with the message specified.

}
 
All About Class Error in Java All About Class Error in Java Reviewed by Animesh Chatterjee on September 19, 2018 Rating: 5

No comments:

Powered by Blogger.