Class SuperfluousArgsException

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

    public class SuperfluousArgsException
    extends ArgsSyntaxException
    Thrown in case there were arguments found not being used (superfluous arguments).
    See Also:
    Serialized Form
    • Constructor Detail

      • SuperfluousArgsException

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

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

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

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

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

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