Package org.plumelib.options
Class Options.ArgException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.plumelib.options.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.
-
-
-
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 stringargs
- the arguments to be formatted by the format string
-
-