Class CmdLineParser.NotFlagException

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    CmdLineParser

    public static class CmdLineParser.NotFlagException
    extends CmdLineParser.UnknownOptionException
    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.
    Author:
    Vidar Holen
    See Also:
    Serialized Form
    • Method Detail

      • getOptionChar

        public char getOptionChar()
        Returns:
        the first character which wasn't a boolean (e.g 'c')