@InterfaceAudience.Public public class HBaseSnapshotException extends DoNotRetryIOException
| Modifier and Type | Field and Description | 
|---|---|
| private SnapshotDescription | description | 
| Constructor and Description | 
|---|
| HBaseSnapshotException(String msg)Some exception happened for a snapshot and don't even know the snapshot that it was about | 
| HBaseSnapshotException(String message,
                      Exception e)Exception when the description of the snapshot cannot be determined, due to some root other
 root cause | 
| HBaseSnapshotException(String msg,
                      SnapshotDescription desc)Exception for the given snapshot that has no previous root cause | 
| HBaseSnapshotException(String msg,
                      Throwable cause,
                      SnapshotDescription desc)Exception for the given snapshot due to another exception | 
| Modifier and Type | Method and Description | 
|---|---|
| SnapshotDescription | getSnapshotDescription() | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate SnapshotDescription description
public HBaseSnapshotException(String msg)
msg - Full description of the failurepublic HBaseSnapshotException(String msg, SnapshotDescription desc)
msg - reason why the snapshot faileddesc - description of the snapshot that is being failedpublic HBaseSnapshotException(String msg, Throwable cause, SnapshotDescription desc)
msg - reason why the snapshot failedcause - root cause of the failuredesc - description of the snapshot that is being failedpublic HBaseSnapshotException(String message, Exception e)
message - description of what caused the failuree - root causepublic SnapshotDescription getSnapshotDescription()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.