FileDocCategorySizeDatePackage
BackupWarningException.javaAPI DocGlassfish v2 API3147Fri May 04 22:23:14 BST 2007com.sun.enterprise.config.backup

BackupWarningException

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.

Fields Summary
Constructors Summary
public BackupWarningException(String s)
Constructs a BackupWarningException with a possibly i18n'd detail message.

param
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.

		super(s);
	
public BackupWarningException(String s, Object o)

param
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.
param
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.

		super(s, o);
	
Methods Summary