public void add(Option option) throws RequiredParametersException {
		if (!this.data.containsKey(option.getName())) {
			this.data.put(option.getName(), option);
		} else {
			throw new RequiredParametersException("Option with key " + option.getName() + " already exists.");
		}
	}
public void add ( Option option ) throws RequiredParametersException { if ( ! this . data . containsKey ( option . getName ( ) ) ) { this . data . put ( option . getName ( ) , option ) ; } else { throw new RequiredParametersException ( "Option with key " + option . getName ( ) + " already exists." ) ; } }
Add a parameter encapsulated in an {@link Option} object.

@param option - the parameter
@throws RequiredParametersException if an option with the same name is already defined