@InterfaceAudience.Public public class HBaseSnapshotException extends DoNotRetryIOException
| Modifier and Type | Field and Description | 
|---|---|
private SnapshotDescription | 
description  | 
| Constructor and Description | 
|---|
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SnapshotDescription | 
getSnapshotDescription()  | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate SnapshotDescription description
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 HBaseSnapshotException(String message, Throwable cause)
message - description of what caused the failurecause - the root causepublic SnapshotDescription getSnapshotDescription()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.