Package com.sun.enterprise.backup
Class BackupWarningException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.enterprise.backup.BackupException
com.sun.enterprise.backup.BackupWarningException
- All Implemented Interfaces:
Serializable
- Author:
- bnevins Problem -- some "errors" should not be handled by CLI as "errors", but as warnings. However, the Exception throwing mechanism is the non-kludgiest way to get the message back to the command handler in CLI. Thus this class.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a BackupWarningException with a possibly i18n'd detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BackupWarningException
Constructs a BackupWarningException 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.
-
BackupWarningException
- 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.
-