jodd-vtor/src/main/java/jodd/vtor/Vtor.java
public void addViolation(final Violation v) {
		if (v == null) {
			return;
		}
		if (violations == null) {
			violations = new ArrayList<>();
		}
		violations.add(v);
	}
public void addViolation(final Violation v) {
		if (v == null) {
			return;
		}
		if (violations == null) {
			violations = new ArrayList<>();
		}
		violations.add(v);
	}
Adds new {@link Violation violation}. Violations are added during {@link #validate(ValidationContext, Object, String) validation}.
They can be added after the validation as well, with <code>null</code> check (and constraint).