Class UnknownArgsException

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

    public class UnknownArgsException
    extends ArgsMismatchException
    Thrown in case not one command line argument matched regarding the provided args vs. the expected args.
    See Also:
    Serialized Form
    • Constructor Detail

      • UnknownArgsException

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

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

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

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

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

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