Uses of Class
io.avaje.http.api.ValidationException.Violation
Packages that use ValidationException.Violation
Package
Description
Provides annotations to support Controllers for web frameworks that
are route based (like Sparkjava, Javlin etc).
-
Uses of ValidationException.Violation in io.avaje.http.api
Methods in io.avaje.http.api that return types with arguments of type ValidationException.ViolationModifier and TypeMethodDescriptionValidationException.getErrors()
Return the errors typically as a map of field to error message.Constructor parameters in io.avaje.http.api with type arguments of type ValidationException.ViolationModifierConstructorDescriptionValidationException
(int status, String message, Throwable cause, List<ValidationException.Violation> errors) Create with a status message and errors.ValidationException
(int status, String message, List<ValidationException.Violation> errors) Create with a status message and errors.