public class ValidationErrorResponseResource extends ErrorResponseResource
Constructor and Description |
---|
ValidationErrorResponseResource() |
ValidationErrorResponseResource(ValidationException validationException) |
Modifier and Type | Method and Description |
---|---|
List<ValidationErrorResource> |
getErrors()
Returns the validation errors.
|
void |
setErrors(List<ValidationErrorResource> errors)
Sets the validation errors.
|
getContentType, getErrorMessage, getMethod, getQuery, getStatusCode, getStatusMessage, getThrowable, getUri, setContentType, setErrorMessage, setMethod, setQuery, setStatusCode, setStatusMessage, setUri, toString
public ValidationErrorResponseResource()
public ValidationErrorResponseResource(ValidationException validationException)
public List<ValidationErrorResource> getErrors()
public void setErrors(List<ValidationErrorResource> errors)
errors
- the validation errors