Uses of Class
org.apache.juneau.rest.server.validation.ValidationViolation
Packages that use ValidationViolation
Package
Description
Optional Jakarta Bean Validation 3.x
integration for
juneau-rest-server — declarative validation of request beans via
jakarta.validation.constraints.* annotations.-
Uses of ValidationViolation in org.apache.juneau.rest.server.validation
Methods in org.apache.juneau.rest.server.validation that return ValidationViolationModifier and TypeMethodDescriptionValidationViolation.setConstraint(String value) Sets the constraint.ValidationViolation.setInvalidValue(String value) Sets the invalid value.ValidationViolation.setMessage(String value) Sets the message.Sets the property path.Methods in org.apache.juneau.rest.server.validation that return types with arguments of type ValidationViolationModifier and TypeMethodDescriptionValidationException.copyViolations()Returns a defensive, mutable copy of the violation list for callers that need to inspect / filter it without mutating the exception's own state.ValidationException.getViolations()Returns the immutable list of constraint violations that produced this exception.Constructor parameters in org.apache.juneau.rest.server.validation with type arguments of type ValidationViolationModifierConstructorDescriptionValidationException(List<ValidationViolation> violations) Constructor.ValidationException(List<ValidationViolation> violations, String msg, Object... args) Constructor with a custom detail message.