util
Class CommandLineParser.InvalidCommandLineException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by util.CommandLineParser.InvalidCommandLineException
All Implemented Interfaces:
Serializable
Enclosing class:
CommandLineParser<Opt extends Enum<Opt> & CommandLineParser.OptionSpec<? super Cxt>,Cxt>

public static class CommandLineParser.InvalidCommandLineException
extends Exception

Exception thrown by CommandLineParser.parse(Object, String[]) on invalid command-line input.

Objects of this class are only constructed directly by parse() itself; an CommandLineParser.OptionSpec enum throws CommandLineParser.OptionSpec.OptionException exceptions, which are then reformatted by parse().

See Also:
Serialized Form

Field Summary
 String arg
          The argument to the erroneous option, or null if there was no such.
 Enum opt
          The option in which the error occurred, or null if the error was associated with no particular option.
 
Method Summary
 
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
 

Field Detail

opt

public final Enum opt
The option in which the error occurred, or null if the error was associated with no particular option.


arg

public final String arg
The argument to the erroneous option, or null if there was no such.