@InterfaceAudience.Private public class BackupException extends HBaseIOException
Modifier and Type | Field and Description |
---|---|
private BackupInfo |
info |
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 |
getBackupInfo() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private BackupInfo info
public 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 BackupException(String message, Exception e)
message
- description of what caused the failuree
- root causepublic BackupInfo getBackupInfo()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.