public static interface CommandLine.IParameterExceptionHandler
ParameterExceptions (usually from invalid user input).
 Implementation Requirements:
Implementors that need to print messages to the console should use the output and error PrintWriters, and the color scheme from the CommandLine object obtained from the exception.
Implementation Note:
See CommandLine.getParameterExceptionHandler() for a description of the default handler.
API Note:
This interface supersedes CommandLine.IExceptionHandler2.
CommandLine.setParameterExceptionHandler(IParameterExceptionHandler)| Modifier and Type | Method and Description | 
|---|---|
int | 
handleParseException(CommandLine.ParameterException ex,
                    String[] args)
Handles a  
ParameterException that occurred while parsing the command
 line arguments and returns an exit code suitable for returning from CommandLine.execute(String...). | 
int handleParseException(CommandLine.ParameterException ex, String[] args) throws Exception
ParameterException that occurred while parsing the command
 line arguments and returns an exit code suitable for returning from CommandLine.execute(String...).ex - the ParameterException describing the problem that occurred while parsing the command line arguments,
           and the CommandLine representing the command or subcommand whose input was invalidargs - the command line arguments that could not be parsedException