code: public static void checkConfigParameter(boolean condition, Object parameter, String name, String errorMessage)
  		throws IllegalConfigurationException {
  		if (!condition) {
  			throw new IllegalConfigurationException("Invalid configuration value for " +
  				name + " : " + parameter + " - " + errorMessage);
  		}
  	}
docs: Validates a condition for a config parameter and displays a standard exception, if the
  the condition does not hold.
  
  @param condition             The condition that must hold. If the condition is false, an exception is thrown.
  @param parameter         The parameter value. Will be shown in the exception message.
  @param name              The name of the config parameter. Will be shown in the exception message.
  @param errorMessage  The optional custom error message to append to the exception message.
  
  @throws IllegalConfigurationException if the condition does not hold