net.ontopia.utils
Class CmdlineOptions.OptionsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by net.ontopia.utils.CmdlineOptions.OptionsException
All Implemented Interfaces:
Serializable
Enclosing class:
CmdlineOptions

public static class CmdlineOptions.OptionsException
extends Exception

INTERNAL: An exception that is thrown when there are problems with the options specified on the command line.

See Also:
Serialized Form

Field Summary
protected  String argument
           
protected  String value
           
 
Constructor Summary
CmdlineOptions.OptionsException(String argument, String value)
           
 
Method Summary
 String getArgument()
          Returns the name of the invalid argument.
 String getMessage()
           
 String getValue()
          Returns the value of the invalid argument.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

argument

protected String argument

value

protected String value
Constructor Detail

CmdlineOptions.OptionsException

public CmdlineOptions.OptionsException(String argument,
                                       String value)
Method Detail

getArgument

public String getArgument()
Returns the name of the invalid argument.


getValue

public String getValue()
Returns the value of the invalid argument.


getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2000-2012 Ontopia.