Class UnknownArgsException

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

    public class UnknownArgsException
    extends ArgsSyntaxException
    Thrown in case command line arguments were not processed (did not match the expected arguments), e.g. the arguments were rejected as them did not work for the according syntax.
    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