Package com.sun.enterprise.backup
Class BackupException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.enterprise.backup.BackupException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BackupWarningException
Backup-Restore guarantees that this will be the one and only one kind of
Exception that will ever be thrown. All fatal errors will
result in this Exception being thrown. This is a checked Exception so callers
will be forced to deal with it.
the class features built-in i18n. I.e. any String passed to a BackupException constructor will first be used as a key into the i18n Strings. If it is not found, the String itself will be used as the messsage.
- Author:
- bnevins
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a BackupException with a possibly i18n'd detail message.BackupException(String s, Object o) BackupException(String s, Throwable t) BackupException(String s, Throwable t, Object o) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BackupException
Constructs a BackupException with a possibly i18n'd detail message.- Parameters:
s- the detail message which is first checked for as a key for an i18n string. If not found it will be used as the message itself.
-
BackupException
- Parameters:
s- the detail message which is first checked for as a key for an i18n string. If not found it will be used as the message itself.o- the parameter for the recovered i18n string. I.e. "{0}" will be replaced with o.toString(). If there is no i18n string located o will be ignored.
-
BackupException
- Parameters:
s- the detail message which is first checked for as a key for an i18n string. If not found it will be used as the message itself.t- the cause.
-
BackupException
- Parameters:
s- the detail message which is first checked for as a key for an i18n string. If not found it will be used as the message itself.t- the cause.o- the parameter for the recovered i18n string. I.e. "{0}" will be replaced with o.toString(). If there is no i18n string located o will be ignored.
-