Class JVMCRIUException
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
Fields - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJVMCRIUException(String message, int errorCode) protectedJVMCRIUException(String message, int errorCode, Throwable causedBy)  - 
Method Summary
Modifier and TypeMethodDescriptionintReturns the error code.voidsetErrorCode(int errorCode) Sets the error code.Methods declared in class 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
 
 -