Class Options.ArgException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Options

    public static class Options.ArgException
    extends java.lang.Exception
    Indicates an exception encountered during argument processing. Contains no information other than the message string.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ArgException​(java.lang.String message)
      Create an ArgException with the specified detail message.
      ArgException​(java.lang.String format, @Nullable java.lang.Object... args)
      Create an ArgException whose detail message is formed by formatting the given format string and arguments.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ArgException

        public ArgException​(java.lang.String message)
        Create an ArgException with the specified detail message.
        Parameters:
        message - the detail message for the exception
      • ArgException

        @FormatMethod
        public ArgException​(java.lang.String format,
                            @Nullable java.lang.Object... args)
        Create an ArgException whose detail message is formed by formatting the given format string and arguments.
        Parameters:
        format - the format string
        args - the arguments to be formatted by the format string