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:
java.io.Serializable
Enclosing class:
CmdlineOptions

public static class CmdlineOptions.OptionsException
extends java.lang.Exception

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

See Also:
Serialized Form

Constructor Summary
CmdlineOptions.OptionsException(java.lang.String argument, java.lang.String value)
           
 
Method Summary
 java.lang.String getArgument()
          Returns the name of the invalid argument.
 java.lang.String getMessage()
           
 java.lang.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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CmdlineOptions.OptionsException

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

getArgument

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


getValue

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


getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable


Copyright © 2000-2010 Ontopia.