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:
    Serialized Form
    • Constructor Detail

      • ParseArgsException

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

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

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

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

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

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