Package net.ontopia.utils
Class CmdlineOptions.OptionsException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- 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
-
-
Constructor Summary
Constructors Constructor Description OptionsException(String argument, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 classThrowable
-
-