Package org.opends.server.backup
Class BackupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opends.server.backup.BackupException
- All Implemented Interfaces:
Serializable
,LocalizableException
An exception that may be thrown when there is a problem with a backup file.
- See Also:
-
Constructor Summary
ConstructorDescriptionBackupException
(LocalizableMessage errorMessage) Creates an new backup file exception with the provided localizable message.BackupException
(LocalizableMessage errorMessage, Throwable cause) Creates an new backup storage exception with the provided localizable message. -
Method Summary
Modifier and TypeMethodDescriptionReturns the localizable message that explains the problem that occurred.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BackupException
Creates an new backup file exception with the provided localizable message.- Parameters:
errorMessage
- The error message.
-
BackupException
Creates an new backup storage exception with the provided localizable message.- Parameters:
errorMessage
- The error message.cause
- The underlying cause that triggered this exception.
-
-
Method Details
-
getMessageObject
Description copied from interface:LocalizableException
Returns the localizable message that explains the problem that occurred.- Specified by:
getMessageObject
in interfaceLocalizableException
- Returns:
- The localizable message that explains the problem that occurred.
-