Class ParseArgsException

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

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, String aErrorCode)
      Instantiates a new parses the args exception.
      Parameters:
      aArgs - the args
      aMessage - The aMessage describing this exception.
      aErrorCode - The error code identifying this exception.
    • ParseArgsException

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

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

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

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

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