Class ArgsSyntaxException

All Implemented Interfaces:
Serializable, ArgsAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap
Direct Known Subclasses:
AmbiguousArgsException, ParseArgsException, SuperfluousArgsException, UnknownArgsException

public class ArgsSyntaxException extends CliException.ConsoleArgsException
Thrown in case of a command line arguments mismatch regarding provided and expected args.
See Also:
  • Constructor Details

    • ArgsSyntaxException

      public ArgsSyntaxException(String[] aArgs, String aMessage, String aErrorCode)
      Instantiates a new args mismatch exception.
      Parameters:
      aArgs - the args
      aMessage - the message
      aErrorCode - the error code
    • ArgsSyntaxException

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

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

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

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

      public ArgsSyntaxException(String[] aArgs, Throwable cause)
      Instantiates a new args mismatch exception.
      Parameters:
      aArgs - the args
      cause - the cause