@InterfaceAudience.Public public class SnapshotCreationException extends HBaseSnapshotException
构造器和说明 |
---|
SnapshotCreationException(String msg)
Used internally by the RPC engine to pass the exception back to the client.
|
SnapshotCreationException(String msg,
SnapshotDescription desc)
Failure to create the specified snapshot
|
SnapshotCreationException(String msg,
Throwable cause,
SnapshotDescription desc)
Failure to create the specified snapshot due to an external cause
|
getSnapshotDescription
public SnapshotCreationException(String msg)
msg
- error message to pass backpublic SnapshotCreationException(String msg, SnapshotDescription desc)
msg
- reason why the snapshot couldn't be completeddesc
- description of the snapshot attemptedpublic SnapshotCreationException(String msg, Throwable cause, SnapshotDescription desc)
msg
- reason why the snapshot couldn't be completedcause
- root cause of the failuredesc
- description of the snapshot attemptedCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.