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