com.Ostermiller.util
Class UnknownCmdLnOptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.Ostermiller.util.CmdLnException
com.Ostermiller.util.UnknownCmdLnOptionException
- All Implemented Interfaces:
- java.io.Serializable
public class UnknownCmdLnOptionException
- extends CmdLnException
Exception thrown when a command line option that was unexpected is found.
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getArgument()
Get the argument that caused this exception |
java.lang.String |
getMessage()
|
java.lang.String |
getOption()
Get the option that caused this exception |
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 |
UnknownCmdLnOptionException
public UnknownCmdLnOptionException()
- Constructs an
UnknownCmdLnOptionException
getArgument
public java.lang.String getArgument()
- Get the argument that caused this exception
- Returns:
- the argument
getOption
public java.lang.String getOption()
- Get the option that caused this exception
- Returns:
- the option
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable