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
public class BackupWarningException extends BackupException
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BackupWarningException(String s)
Constructs a BackupWarningException with a possibly i18n'd detail message.BackupWarningException(String s, 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 Detail
-
BackupWarningException
public BackupWarningException(String s)
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
public BackupWarningException(String s, Object o)
- 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.
-
-