Module openj9.criu

Class JVMCRIUException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JVMCheckpointException, JVMRestoreException, SystemCheckpointException, SystemRestoreException

public abstract class JVMCRIUException extends RuntimeException
Abstract CRIU exception superclass. Contains an error code returned from a failed operation.
See Also:
  • Field Details

    • errorCode

      protected int errorCode
  • Constructor Details

    • JVMCRIUException

      protected JVMCRIUException(String message, int errorCode)
    • JVMCRIUException

      protected JVMCRIUException(String message, int errorCode, Throwable causedBy)
  • 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