Class CommandLine.DuplicateOptionAnnotationsException
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.InitializationException
org.apache.logging.log4j.core.tools.picocli.CommandLine.DuplicateOptionAnnotationsException
- All Implemented Interfaces:
Serializable
- Enclosing class:
CommandLine
public static class CommandLine.DuplicateOptionAnnotationsException
extends CommandLine.InitializationException
Exception indicating that multiple fields have been annotated with the same Option name.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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:
-
-
Constructor Details
-
DuplicateOptionAnnotationsException
-
-
Method Details
-
create
private static CommandLine.DuplicateOptionAnnotationsException create(String name, Field field1, Field field2)
-