Package org.apache.commons.cli
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.commons.cli.ParseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AlreadySelectedException
,MissingArgumentException
,MissingOptionException
,UnrecognizedOptionException
Base for Exceptions thrown during parsing of a command-line.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
This exceptionserialVersionUID
. -
Constructor Summary
ConstructorsConstructorDescriptionParseException
(String message) Construct a newParseException
with the specified detail message. -
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 serialVersionUIDThis exceptionserialVersionUID
.- See Also:
-
-
Constructor Details
-
ParseException
Construct a newParseException
with the specified detail message.- Parameters:
message
- the detail message
-