For updates and more see

Class CmdLineParser.NotFlagException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jargs.gnu.CmdLineParser.OptionException
              extended by jargs.gnu.CmdLineParser.UnknownOptionException
                  extended by jargs.gnu.CmdLineParser.NotFlagException
All Implemented Interfaces:
Enclosing class:

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.

Vidar Holen
See Also:
Serialized Form

Method Summary
 char getOptionChar()
Methods inherited from class jargs.gnu.CmdLineParser.UnknownOptionException
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Method Detail


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

For updates and more see

Copyright © 2001-2003 Steve Purcell. Copyright © 2002 Vidar Holen. Copyright © 2002 Michal Ceresna. Copyright © 2005 Ewan Mellor. Released under the terms of the BSD licence.