Class SandboxException.SnapshotException

All Implemented Interfaces:
Serializable
Enclosing class:
SandboxException

public static class SandboxException.SnapshotException extends SandboxException
Thrown when a snapshot operation (persist or restore) fails.
See Also:
  • Constructor Details

    • SnapshotException

      public SnapshotException(String snapshotId, String message, Throwable cause)
      Creates a snapshot exception.
      Parameters:
      snapshotId - the snapshot identifier
      message - human-readable description
      cause - the underlying cause
    • SnapshotException

      public SnapshotException(String snapshotId)
      Creates a snapshot exception for a non-restorable snapshot.
      Parameters:
      snapshotId - the snapshot identifier
  • Method Details

    • getSnapshotId

      public String getSnapshotId()
      Returns the snapshot identifier associated with this failure.
      Returns:
      snapshot id