@InterfaceAudience.Public @InterfaceStability.Evolving public class HBaseSnapshotException extends DoNotRetryIOException
| Constructor and Description |
|---|
HBaseSnapshotException(java.lang.String msg)
Some exception happened for a snapshot and don't even know the snapshot that it was about
|
HBaseSnapshotException(java.lang.String message,
java.lang.Exception e)
Exception when the description of the snapshot cannot be determined, due to some root other
root cause
|
HBaseSnapshotException(java.lang.String msg,
HBaseProtos.SnapshotDescription desc)
Exception for the given snapshot that has no previous root cause
|
HBaseSnapshotException(java.lang.String msg,
java.lang.Throwable cause,
HBaseProtos.SnapshotDescription desc)
Exception for the given snapshot due to another exception
|
| Modifier and Type | Method and Description |
|---|---|
HBaseProtos.SnapshotDescription |
getSnapshotDescription() |
public HBaseSnapshotException(java.lang.String msg)
msg - Full description of the failurepublic HBaseSnapshotException(java.lang.String msg,
HBaseProtos.SnapshotDescription desc)
msg - reason why the snapshot faileddesc - description of the snapshot that is being failedpublic HBaseSnapshotException(java.lang.String msg,
java.lang.Throwable cause,
HBaseProtos.SnapshotDescription desc)
msg - reason why the snapshot failedcause - root cause of the failuredesc - description of the snapshot that is being failedpublic HBaseSnapshotException(java.lang.String message,
java.lang.Exception e)
message - description of what caused the failuree - root causepublic HBaseProtos.SnapshotDescription getSnapshotDescription()