public class MethodArgumentNotValidExceptionResolver extends AbstractConcreteExceptionResolver<org.springframework.web.bind.MethodArgumentNotValidException>
conversionService, exceptionClass, exceptionTranslator, stackTraceIndicator
COMPOSITE_EXCEPTION_RESOLVER
Constructor and Description |
---|
MethodArgumentNotValidExceptionResolver() |
Modifier and Type | Method and Description |
---|---|
Optional<List<ValidationError>> |
validationErrors(org.springframework.web.bind.MethodArgumentNotValidException 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 MethodArgumentNotValidExceptionResolver()
public Optional<List<ValidationError>> validationErrors(org.springframework.web.bind.MethodArgumentNotValidException exception)
ConcreteExceptionResolver
exception
- ConstraintViolationException
, MethodArgumentNotValidException
Copyright © 2017. All rights reserved.