Class ValidationErrorResponseResource


  • public class ValidationErrorResponseResource
    extends ErrorResponseResource
    Response resource for validation errors.
    Since:
    2.0.0
    Author:
    Paul Klos
    • Constructor Detail

      • ValidationErrorResponseResource

        public ValidationErrorResponseResource()
      • ValidationErrorResponseResource

        public ValidationErrorResponseResource​(ValidationException validationException)
    • Method Detail

      • setErrors

        public void setErrors​(List<ValidationErrorResource> errors)
        Sets the validation errors.
        Parameters:
        errors - the validation errors