public class ConstraintViolationExceptionResolver extends AbstractConcreteExceptionResolver<javax.validation.ConstraintViolationException>
conversionService, exceptionClass, exceptionTranslator, stackTraceIndicator
COMPOSITE_EXCEPTION_RESOLVER
Constructor and Description |
---|
ConstraintViolationExceptionResolver() |
Modifier and Type | Method and Description |
---|---|
Optional<List<ValidationError>> |
validationErrors(javax.validation.ConstraintViolationException exception)
validation errors.
|
getExceptionClass, getExceptionTranslator, logError, resolve, resolve, resolve, setConversionService, setExceptionTranslator, setStackTraceIndicator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createHeaders, find, getAttribute, localizedMessage, message, status
public ConstraintViolationExceptionResolver()
public Optional<List<ValidationError>> validationErrors(javax.validation.ConstraintViolationException exception)
ConcreteExceptionResolver
exception
- ConstraintViolationException
, MethodArgumentNotValidException
Copyright © 2017. All rights reserved.