public class SpringValidationExceptionConverter extends Object implements ExceptionConverter
| Modifier and Type | Field and Description |
|---|---|
static String |
VALIDATION_FAILED |
| Constructor and Description |
|---|
SpringValidationExceptionConverter() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Throwable t,
Throwable finalException) |
ServiceException |
convert(Throwable t,
String detail,
Map<String,Object> extendedData) |
static InvalidValue[] |
convertErrors(Errors errors) |
public static final String VALIDATION_FAILED
public SpringValidationExceptionConverter()
public boolean accepts(Throwable t, Throwable finalException)
accepts in interface ExceptionConverterpublic ServiceException convert(Throwable t, String detail, Map<String,Object> extendedData)
convert in interface ExceptionConverterpublic static InvalidValue[] convertErrors(Errors errors)