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, String aErrorCode)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aMessage - the message
      aErrorCode - the error code
    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aMessage - the message
      aCause - the cause
      aErrorCode - the error code
    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, String message, Throwable cause)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      message - the message
      cause - the cause
    • ConsoleArgsException

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

      public ConsoleArgsException(String[] aArgs, Throwable aCause, String aErrorCode)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      aCause - the cause
      aErrorCode - the error code
    • ConsoleArgsException

      public ConsoleArgsException(String[] aArgs, Throwable cause)
      Instantiates a new console args exception.
      Parameters:
      aArgs - the args
      cause - the cause
  • Method Details