Class CommandLine.UnmatchedArgumentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.logging.log4j.core.tools.picocli.CommandLine.PicocliException
-
- org.apache.logging.log4j.core.tools.picocli.CommandLine.ParameterException
-
- org.apache.logging.log4j.core.tools.picocli.CommandLine.UnmatchedArgumentException
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CommandLine
public static class CommandLine.UnmatchedArgumentException extends CommandLine.ParameterException
Exception indicating that a command line argument could not be mapped to any of the fields annotated withCommandLine.Option
orCommandLine.Parameters
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnmatchedArgumentException(CommandLine commandLine, String msg)
UnmatchedArgumentException(CommandLine commandLine, List<String> args)
UnmatchedArgumentException(CommandLine commandLine, Stack<String> args)
-
Method Summary
-
Methods inherited from class org.apache.logging.log4j.core.tools.picocli.CommandLine.ParameterException
getCommandLine
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnmatchedArgumentException
public UnmatchedArgumentException(CommandLine commandLine, String msg)
-
UnmatchedArgumentException
public UnmatchedArgumentException(CommandLine commandLine, Stack<String> args)
-
UnmatchedArgumentException
public UnmatchedArgumentException(CommandLine commandLine, List<String> args)
-
-