@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
|
getSnapshotDescriptionaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic 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 attemptedCopyright © 2014 The Apache Software Foundation. All rights reserved.