Package org.plumelib.options
Class Options.ArgException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.plumelib.options.Options.ArgException
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Options
Indicates an exception encountered during argument processing. Contains no information other
than the message string.
- See Also:
-
Constructor Summary
ConstructorDescriptionArgException
(String message) Create an ArgException with the specified detail message.ArgException
(String format, @Nullable 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
-
Constructor Details
-
ArgException
Create an ArgException with the specified detail message.- Parameters:
message
- the detail message for the exception
-
ArgException
Create an ArgException whose detail message is formed by formatting the given format string and arguments.- Parameters:
format
- the format stringargs
- the arguments to be formatted by the format string
-