Class ParseArgsException

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

public class ParseArgsException extends ArgsSyntaxException
Thrown in case the provided command line arguments do not respect the required semantics or cannot be converted to the required type.
See Also:
  • Constructor Details

    • ParseArgsException

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

      public ParseArgsException(String[] aArgs, String aMessage, String aErrorCode, Term aSource)
      Instantiates a new ParseArgsException 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).
    • ParseArgsException

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

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

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

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

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

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

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

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

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

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