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
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.
Copyright © 2012. All Rights Reserved.