dsto.dfc.commandline
Class IllegalOptionValueException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by dsto.dfc.commandline.IllegalOptionValueException
All Implemented Interfaces:
Serializable

public class IllegalOptionValueException
extends Exception

Thrown when an illegal or missing value is given by the user for an option that takes a value. getMessage() returns an error string suitable for reporting the error to the user (in English).

See Also:
Serialized Form

Constructor Summary
IllegalOptionValueException(Option opt, String value)
           
 
Method Summary
 Option getOption()
           
 String getValue()
           
 
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

IllegalOptionValueException

public IllegalOptionValueException(Option opt,
                                   String value)
Method Detail

getOption

public Option getOption()

getValue

public String getValue()


Copyright © 2008 Commonwealth of Australia