Class UnknownArgsException

All Implemented Interfaces:
Serializable, ArgsAccessor, MatchCountAccessor, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.SourceAccessor<Term>

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, Term aSource)
      Instantiates a new UnknownArgsException exception.
      Parameters:
      aArgs - The arguments participating in the exception.
      aMessage - The aMessage describing this exception.
      aSource - The Term responsible for this exception (source).
    • UnknownArgsException

      public UnknownArgsException(String[] aArgs, String aMessage, String aErrorCode, Term aSource)
      Instantiates a new UnknownArgsException exception.
      Parameters:
      aArgs - The arguments participating in the exception.
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
      aSource - The Term responsible for this exception (source).
    • UnknownArgsException

      public UnknownArgsException(String[] aArgs, String aMessage, Throwable aCause, Term aSource)
      Instantiates a new UnknownArgsException exception.
      Parameters:
      aArgs - The arguments participating in the exception.
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aSource - The Term responsible for this exception (source).
    • UnknownArgsException

      public UnknownArgsException(String[] aArgs, String aMessage, Throwable aCause, String aErrorCode, Term aSource)
      Instantiates a new UnknownArgsException exception.
      Parameters:
      aArgs - The arguments participating in the exception.
      aMessage - The aMessage describing this exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
      aSource - The Term responsible for this exception (source).
    • UnknownArgsException

      public UnknownArgsException(String[] aArgs, Throwable aCause, Term aSource)
      Instantiates a new UnknownArgsException exception.
      Parameters:
      aArgs - The arguments participating in the exception.
      aCause - The Throwable (Exception) causing this exception.
      aSource - The Term responsible for this exception (source).
    • UnknownArgsException

      public UnknownArgsException(String[] aArgs, Throwable aCause, String aErrorCode, Term aSource)
      Instantiates a new UnknownArgsException exception.
      Parameters:
      aArgs - The arguments participating in the exception.
      aCause - The Throwable (Exception) causing this exception.
      aErrorCode - The error code identifying this exception.
      aSource - The Term responsible for this exception (source).
    • UnknownArgsException

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

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

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

      public UnknownArgsException(String[] aArgs, String aMessage, Throwable aCause, String aErrorCode)
      Instantiates a new UnknownArgsException exception.
      Parameters:
      aArgs - The arguments participating in the exception.
      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, Throwable aCause)
      Instantiates a new UnknownArgsException exception.
      Parameters:
      aArgs - The arguments participating in the exception.
      aCause - The Throwable (Exception) causing this exception.
    • UnknownArgsException

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