gov.llnl.babel
Class UserOptions.ServerSwitch
java.lang.Object
gov.llnl.babel.UserOptions.BasicSwitch
- UserOptions
- CommandLineSwitch
public class UserOptions.ServerSwitch
void | processCommandSwitch(String optarg) - This method is called when the Babel end user specifies this command
line switch on the command line.
|
ServerSwitch
public ServerSwitch()
processCommandSwitch
public final void processCommandSwitch(String optarg)
throws InvalidArgumentException,
InvalidOptionException,
CorruptSymbolException
This method is called when the Babel end user specifies this command
line switch on the command line.
- processCommandSwitch in interface CommandLineSwitch
InvalidArgumentException
- this indicates
that the command line argument provided is wrong somehow. For example,
if the argument should be an integer and the input isn't a valid
integer, throw this exception.InvalidOptionException
- this indicates
that the command line option itself is somehow wrong in the context of
preceeding switches. For example, two switches may be mutually
exclusive, so having both in a command line would cause the second
switch to throw this exception.