All About Class UnknownError in Java



UnknownError is thrown from an application when some serious error occurs in the Java virtual machine and JVM can not categorize it.

The structure of the class UnknownError  is given below:

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

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

No comments:

Powered by Blogger.