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