Class CommandLine.ParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.codename1.cli.CommandLine.ParameterException
- Enclosing class:
CommandLine
A command line that does not parse.
-
Constructor Summary
ConstructorsConstructorDescriptionParameterException(CommandSpec spec, String message) Creates the exception forspec's command line.ParameterException(CommandSpec spec, String message, Throwable cause) Creates the exception forspec's command line, caused bycause. -
Method Summary
Modifier and TypeMethodDescriptionThe command whose arguments were wrong.Methods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParameterException
Creates the exception forspec's command line. -
ParameterException
Creates the exception forspec's command line, caused bycause.
-
-
Method Details
-
getCommandSpec
The command whose arguments were wrong.
-