com.frameworkset.util.VirtualMachineError Maven / Gradle / Ivy
Show all versions of bboss-util Show documentation
/**
*
*/
package com.frameworkset.util;
/**
* @author yinbp
*
* @Date:2016-12-03 23:53:05
*/
abstract public class VirtualMachineError extends Error {
private static final long serialVersionUID = 4161983926571568670L;
/**
* Constructs a VirtualMachineError
with no detail message.
*/
public VirtualMachineError() {
super();
}
/**
* Constructs a VirtualMachineError
with the specified
* detail message.
*
* @param message the detail message.
*/
public VirtualMachineError(String message) {
super(message);
}
/**
* Constructs a {@code VirtualMachineError} with the specified
* detail message and cause. Note that the detail message
* associated with {@code cause} is not automatically
* incorporated in this error's detail message.
*
* @param message the detail message (which is saved for later retrieval
* by the {@link #getMessage()} method).
* @param cause the cause (which is saved for later retrieval by the
* {@link #getCause()} method). (A {@code null} value is
* permitted, and indicates that the cause is nonexistent or
* unknown.)
* @since 1.8
*/
public VirtualMachineError(String message, Throwable cause) {
super(message, cause);
}
/**
* Constructs an a {@code VirtualMachineError} with the specified
* cause and a detail message of {@code (cause==null ? null :
* cause.toString())} (which typically contains the class and
* detail message of {@code cause}).
*
* @param cause the cause (which is saved for later retrieval by the
* {@link #getCause()} method). (A {@code null} value is
* permitted, and indicates that the cause is nonexistent or
* unknown.)
* @since 1.8
*/
public VirtualMachineError(Throwable cause) {
super(cause);
}
}