dsto.dfc.commandline
Class UnknownOptionException

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

public class UnknownOptionException
extends Exception

Thrown when the parsed command-line contains an option that is not recognised. getMessage() returns an error string suitable for reporting the error to the user (in English).

See Also:
Serialized Form

Constructor Summary
UnknownOptionException(String optionName)
           
 
Method Summary
 String getOptionName()
           
 
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

UnknownOptionException

public UnknownOptionException(String optionName)
Method Detail

getOptionName

public String getOptionName()


Copyright © 2008 Commonwealth of Australia