@InterfaceAudience.Public public class SnapshotCreationException extends HBaseSnapshotException
Constructor and Description |
---|
SnapshotCreationException(String message)
Used internally by the RPC engine to pass the exception back to the client.
|
SnapshotCreationException(String message,
SnapshotDescription snapshotDescription)
Failure to create the specified snapshot.
|
SnapshotCreationException(String message,
Throwable cause,
SnapshotDescription snapshotDescription)
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 message)
message
- error message to pass backpublic SnapshotCreationException(String message, SnapshotDescription snapshotDescription)
message
- reason why the snapshot couldn't be completedsnapshotDescription
- description of the snapshot attemptedpublic SnapshotCreationException(String message, Throwable cause, SnapshotDescription snapshotDescription)
message
- reason why the snapshot couldn't be completedcause
- the root cause of the failuresnapshotDescription
- description of the snapshot attemptedCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.