code: public static ValidationException error(String messageKey, 
  			Object... params) {
  		return new ValidationException(
  				ValidationMessage.error(messageKey, params));		
  	}
docs: Creates a ValidationException which contains a ValidationMessage error.
  
  @param messageKey a message key
  @param params message parameters
  @return a validation exception with a ValidationMessage error