All About Class VirtualMachineError in Java



VirtualMachineError is thrown from an application when the java virtual machine is broken or has ran out of resources to continue it's operation
The structure of the class VirtualMachineError is given as:

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

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

No comments:

Powered by Blogger.