@InterfaceAudience.Public public class HBaseSnapshotException extends DoNotRetryIOException
| 构造器和说明 |
|---|
HBaseSnapshotException(String message)
Some exception happened for a snapshot and don't even know the snapshot that it was about.
|
HBaseSnapshotException(String message,
SnapshotDescription snapshotDescription)
Exception for the given snapshot that has no previous root cause.
|
HBaseSnapshotException(String message,
Throwable cause)
Exception when the description of the snapshot cannot be determined, due to some root other
root cause.
|
HBaseSnapshotException(String message,
Throwable cause,
SnapshotDescription snapshotDescription)
Exception for the given snapshot due to another exception.
|
| 限定符和类型 | 方法和说明 |
|---|---|
SnapshotDescription |
getSnapshotDescription() |
public HBaseSnapshotException(String message)
message - the full description of the failurepublic HBaseSnapshotException(String message, SnapshotDescription snapshotDescription)
message - the reason why the snapshot failedsnapshotDescription - the description of the snapshot that is failingpublic HBaseSnapshotException(String message, Throwable cause, SnapshotDescription snapshotDescription)
message - the reason why the snapshot failedcause - the root cause of the failuresnapshotDescription - the description of the snapshot that is being failedpublic SnapshotDescription getSnapshotDescription()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.