@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,
org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription desc)
Failure to create the specified snapshot
|
SnapshotCreationException(String msg,
Throwable cause,
org.apache.hadoop.hbase.protobuf.generated.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, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription desc)
msg
- reason why the snapshot couldn't be completeddesc
- description of the snapshot attemptedpublic SnapshotCreationException(String msg, Throwable cause, org.apache.hadoop.hbase.protobuf.generated.HBaseProtos.SnapshotDescription desc)
msg
- reason why the snapshot couldn't be completedcause
- root cause of the failuredesc
- description of the snapshot attemptedCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.