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 TypeMethodDescriptionList<? extends ValidationException.Violation>
ValidationException.getErrors()
Return the errors typically as a map of field to error message.Method parameters in io.avaje.http.api with type arguments of type ValidationException.ViolationModifier and TypeMethodDescriptionvoid
ValidationException.setErrors
(List<? extends ValidationException.Violation> errors) Set the errors.Constructor parameters in io.avaje.http.api with type arguments of type ValidationException.ViolationModifierConstructorDescriptionValidationException
(int status, String message, Throwable cause, List<? extends ValidationException.Violation> errors) Create with a status message and errors.ValidationException
(int status, String message, List<? extends ValidationException.Violation> errors) Create with a status message and errors.