java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.openj9.criu.JVMCRIUException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JVMCheckpointException
,JVMRestoreException
,SystemCheckpointException
,SystemRestoreException
Abstract CRIU exception superclass. Contains an error code returned from a
failed operation.
- See Also:
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
JVMCRIUException
(String message, int errorCode) protected
JVMCRIUException
(String message, int errorCode, Throwable causedBy) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the error code.void
setErrorCode
(int errorCode) Sets the error code.Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errorCode
protected int errorCode
-
-
Constructor Details
-
JVMCRIUException
-
JVMCRIUException
-
-
Method Details
-
getErrorCode
public int getErrorCode()Returns the error code.- Returns:
- errorCode
-
setErrorCode
public void setErrorCode(int errorCode) Sets the error code.- Parameters:
errorCode
- the value to set to
-