Top Description Fields Constructors Methods
com.beust.jcommander

public Class MissingCommandException

extends ParameterException
Class Inheritance
Annotations
@SuppressWarnings:serial

Thrown when a command was expected.
Author
Cedric Beust <[email protected]>

Field Summary

Modifier and TypeField and Description
private final String
unknownCommand

the command passed by the user.

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public String
Inherited from com.beust.jcommander.ParameterException:
getJCommandersetJCommanderusage

Field Detail

unknownCommandback to summary
private final String unknownCommand

the command passed by the user.

Constructor Detail

MissingCommandExceptionback to summary
public MissingCommandException(String message)
MissingCommandExceptionback to summary
public MissingCommandException(String message, String command)

Method Detail

getUnknownCommandback to summary
public String getUnknownCommand()