@InterfaceAudience.Public @InterfaceStability.Evolving public class SnapshotCreationException extends HBaseSnapshotException
Constructor and Description |
---|
SnapshotCreationException(String msg)
Used internally by the RPC engine to pass the exception back to the client.
|
SnapshotCreationException(String msg,
HBaseProtos.SnapshotDescription desc)
Failure to create the specified snapshot
|
SnapshotCreationException(String msg,
Throwable cause,
HBaseProtos.SnapshotDescription desc)
Failure to create the specified snapshot due to an external cause
|
getSnapshotDescription
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SnapshotCreationException(String msg)
msg
- error message to pass backpublic SnapshotCreationException(String msg, HBaseProtos.SnapshotDescription desc)
msg
- reason why the snapshot couldn't be completeddesc
- description of the snapshot attemptedpublic SnapshotCreationException(String msg, Throwable cause, HBaseProtos.SnapshotDescription desc)
msg
- reason why the snapshot couldn't be completedcause
- root cause of the failuredesc
- description of the snapshot attempted