Class HBaseSnapshotException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CorruptedSnapshotException, ExportSnapshotException, RestoreSnapshotException, SnapshotCreationException, SnapshotDoesNotExistException, SnapshotExistsException, SnapshotTTLExpiredException, UnknownSnapshotException

@Public public class HBaseSnapshotException extends DoNotRetryIOException
General exception base class for when a snapshot fails.
See Also:
  • Field Details

  • Constructor Details

    • HBaseSnapshotException

      public HBaseSnapshotException(String message)
      Some exception happened for a snapshot and don't even know the snapshot that it was about.
      Parameters:
      message - the full description of the failure
    • HBaseSnapshotException

      public HBaseSnapshotException(String message, SnapshotDescription snapshotDescription)
      Exception for the given snapshot that has no previous root cause.
      Parameters:
      message - the reason why the snapshot failed
      snapshotDescription - the description of the snapshot that is failing
    • HBaseSnapshotException

      public HBaseSnapshotException(String message, Throwable cause, SnapshotDescription snapshotDescription)
      Exception for the given snapshot due to another exception.
      Parameters:
      message - the reason why the snapshot failed
      cause - the root cause of the failure
      snapshotDescription - the description of the snapshot that is being failed
    • HBaseSnapshotException

      public HBaseSnapshotException(String message, Throwable cause)
      Exception when the description of the snapshot cannot be determined, due to some root other root cause.
      Parameters:
      message - description of what caused the failure
      cause - the root cause
  • Method Details