Bug 137425 [DataBinding] ValidationError javadoc makes references to ValidationResult
It looks like ValidationError used to be named ValidationResult as the javadoc makes references to types that are now a part of ValidationError. Attaching patch...
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/provisional/validation/ValidationError.java
public static ValidationError error(String message) {
		return new ValidationError(ERROR, message);
	}
	
	/**
	 * A convenience factory for warning ValidationResults.
	 * 
	 * @param message The warning message
	 * @return A new ValidationResult representing the warning
	 */
	public static ValidationError warning(String message) {
		return new ValidationError(WARNING, message);
	}
	
	/**
	 * Construct a ValidationResult with an arbitrary status and error message.
	 * 
	 * @param status One of the constants in ValidationResult.
	 * @param message An error message string or warning.
	 */
	public ValidationError(int status, String message) {
		this.status = status;
		this.message = message;
	}
	
	public String toString() {
		return message;
	}
}