util
Class CommandLineParser.OptionSpec.OptionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by util.CommandLineParser.OptionSpec.OptionException
All Implemented Interfaces:
Serializable
Enclosing interface:
CommandLineParser.OptionSpec<Cxt>

public static class CommandLineParser.OptionSpec.OptionException
extends Exception

Thrown by the CommandLineParser.OptionSpec.execute(String, Object) method of CommandLineParser.OptionSpec implementors to indicate an error in the command line. These exceptions are then prettied up by CommandLineParser.parse(Object, String[]) and rethrown.

See Also:
Serialized Form

Constructor Summary
protected CommandLineParser.OptionSpec.OptionException()
           
protected CommandLineParser.OptionSpec.OptionException(String message)
           
protected CommandLineParser.OptionSpec.OptionException(String message, Throwable cause)
           
protected CommandLineParser.OptionSpec.OptionException(Throwable cause)
           
 
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
 

Constructor Detail

CommandLineParser.OptionSpec.OptionException

protected CommandLineParser.OptionSpec.OptionException()

CommandLineParser.OptionSpec.OptionException

protected CommandLineParser.OptionSpec.OptionException(String message,
                                                       Throwable cause)

CommandLineParser.OptionSpec.OptionException

protected CommandLineParser.OptionSpec.OptionException(String message)

CommandLineParser.OptionSpec.OptionException

protected CommandLineParser.OptionSpec.OptionException(Throwable cause)