Package picocli
Class CommandLine.MissingParameterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
picocli.CommandLine.PicocliException
picocli.CommandLine.ParameterException
picocli.CommandLine.MissingParameterException
- All Implemented Interfaces:
Serializable
- Enclosing class:
CommandLine
Exception indicating that a required parameter was not specified.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List
<CommandLine.Model.ArgSpec> private static final long
Fields inherited from class picocli.CommandLine.ParameterException
commandLine
-
Constructor Summary
ConstructorsConstructorDescriptionMissingParameterException
(CommandLine commandLine, Collection<CommandLine.Model.ArgSpec> missing, String msg) MissingParameterException
(CommandLine commandLine, CommandLine.Model.ArgSpec missing, String msg) -
Method Summary
Modifier and TypeMethodDescriptionprivate static CommandLine.MissingParameterException
create
(CommandLine cmd, Collection<CommandLine.Model.ArgSpec> missing, String separator) Methods inherited from class picocli.CommandLine.ParameterException
getArgSpec, getCommandLine, getValue
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
missing
-
-
Constructor Details
-
MissingParameterException
public MissingParameterException(CommandLine commandLine, CommandLine.Model.ArgSpec missing, String msg) -
MissingParameterException
public MissingParameterException(CommandLine commandLine, Collection<CommandLine.Model.ArgSpec> missing, String msg)
-
-
Method Details
-
getMissing
-
create
private static CommandLine.MissingParameterException create(CommandLine cmd, Collection<CommandLine.Model.ArgSpec> missing, String separator)
-