Package com.portal.common
Class CommandLineParser.InvalidOptionsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.portal.common.CommandLineParser.InvalidOptionsException
- All Implemented Interfaces:
Serializable
- Enclosing class:
CommandLineParser
Signals that an exception occurred while the command line
arguments were being parsed.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidOptionsException
(CommandLineParser parser, String msg) An error occurred while parsing the command line arguments. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidOptionsException
An error occurred while parsing the command line arguments.- Parameters:
parser
- The parser class that encountered an error when parsing the command line arguments.msg
- A non-localized string description of the error.
-
-
Method Details
-
getArgs
Get the command line arguments that could not be parsed.- Returns:
- The command line arguments that could not be parsed.
-
getHelp
Get the help string that describes the syntax required by the options class and a desciption of each option supported.- Returns:
- The appropriate help string.
-