Package org.flasby.cli
Class UnknownArgumentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.flasby.cli.OptionException
org.flasby.cli.UnknownArgumentException
- All Implemented Interfaces:
Serializable
- Author:
- flasbyst
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturns a localised message using an MLS key defined as the options mls key with "unknown" appended.Methods inherited from class org.flasby.cli.OptionException
getOptions
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownArgumentException
-
-
Method Details
-
getUnknownArgument
-
getLocalizedMessage
returns a localised message using an MLS key defined as the options mls key with "unknown" appended. This message should have a single parameter {0} which will be replaced by the unknown argument. For example: org.flasby.beantest.unknown=Unknown argument ''{0}''- Overrides:
getLocalizedMessage
in classThrowable
-
getOption
- Specified by:
getOption
in classOptionException
-