Class UnknownArgsException

All Implemented Interfaces:
Serializable, ArgsAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap

public class UnknownArgsException extends ArgsSyntaxException
Thrown in case command line arguments were not processed (did not match the expected arguments), e.g. the arguments were rejected as them did not work for the according syntax.
See Also:
  • Constructor Details

    • UnknownArgsException

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

      public UnknownArgsException(String[] aArgs, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new unknown 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.
    • UnknownArgsException

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

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

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

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