gov.llnl.babel.cli
Class InvalidArgumentException
Exception
gov.llnl.babel.cli.InvalidArgumentException
public class InvalidArgumentException
extends Exception
This exception is thrown by a
CommandLineSwitch
when
it receives an argument that's invalid. The message should be designed
to be meaningful to an end user.
InvalidArgumentException(String message) - Create an exception to indicate to a Babel end user how the
command line argument was invalid.
|
InvalidArgumentException
public InvalidArgumentException(String message)
Create an exception to indicate to a Babel end user how the
command line argument was invalid. If possible, the message
should indicate how the argument was wrong. Babel will
write "Babel: Error processing command line switch long form"
with a newline where long form is replaced by the
name of the long option before writing the message.
message
- a message that will be shown to the Babel
end user.