@InterfaceAudience.Private @InterfaceStability.Evolving public class BackupException extends HBaseIOException
| Constructor and Description |
|---|
BackupException(String msg)
Some exception happened for a backup and don't even know the backup that it was about
|
BackupException(String msg,
BackupInfo desc)
Exception for the given backup that has no previous root cause
|
BackupException(String message,
Exception e)
Exception when the description of the backup cannot be determined, due to some other root
cause
|
BackupException(String msg,
Throwable cause,
BackupInfo desc)
Exception for the given backup due to another exception
|
BackupException(Throwable cause)
Some exception happened for a backup with a cause
|
| Modifier and Type | Method and Description |
|---|---|
BackupInfo |
getBackupContext() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic BackupException(String msg)
msg - Full description of the failurepublic BackupException(Throwable cause)
cause - the causepublic BackupException(String msg, BackupInfo desc)
msg - reason why the backup faileddesc - description of the backup that is being failedpublic BackupException(String msg, Throwable cause, BackupInfo desc)
msg - reason why the backup failedcause - root cause of the failuredesc - description of the backup that is being failedpublic BackupInfo getBackupContext()