Package 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:
Serializable
Exception thrown when a command line option that was unexpected is found.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the argument that caused this exceptionGet the option that caused this exceptionMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownCmdLnOptionException
public UnknownCmdLnOptionException()Constructs anUnknownCmdLnOptionException
-
-
Method Details
-
getArgument
Get the argument that caused this exception- Returns:
- the argument
-
getOption
Get the option that caused this exception- Returns:
- the option
-
getMessage
- Overrides:
getMessagein classThrowable
-