Class CmdLineParser.NotFlagException
java.lang.Object
java.lang.Throwable
java.lang.Exception
jargs.gnu.CmdLineParser.OptionException
jargs.gnu.CmdLineParser.UnknownOptionException
jargs.gnu.CmdLineParser.NotFlagException
- All Implemented Interfaces:
Serializable
- Enclosing class:
CmdLineParser
Thrown when the parsed commandline contains multiple concatenated short options, such as -abcd, where one or more
requires a value.
getMessage() returns an english human-readable error string.- See Also:
-
Method Summary
Methods inherited from class CmdLineParser.UnknownOptionException
getOptionNameMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getOptionChar
public char getOptionChar()Gets the option char.- Returns:
- the first character which wasn't a boolean (e.g 'c')
-