Class CliException.ConsoleArgsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.cli.CliException
org.refcodes.cli.CliException.ConsoleArgsException
All Implemented Interfaces:
Serializable, ArgsAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
Direct Known Subclasses:
ArgsSyntaxException
Enclosing class:
CliException

public abstract static class CliException.ConsoleArgsException extends CliException implements ArgsAccessor
This abstract exception is the base exception for all command line argument related exceptions.
Author:
steiner
See Also:
  • Constructor Details

    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, String aMessage)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aMessage - The aMessage describing this exception.
    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, String aMessage, String aErrorCode)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, String aMessage, Throwable aCause)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, Throwable aCause)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aCause - The Throwable (Exception) causing this exception.
    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, Throwable aCause, String aErrorCode)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
  • Method Details