Class AmbiguousArgsException

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

    public class AmbiguousArgsException
    extends ArgsSyntaxException
    Thrown in case the command line arguments do not match the required syntax.
    See Also:
    Serialized Form
    • Constructor Detail

      • AmbiguousArgsException

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

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

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

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

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

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