public class SpringValidationExceptionConverter extends Object implements org.granite.messaging.service.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) |
org.granite.messaging.service.ServiceException |
convert(Throwable t,
String detail,
Map<String,Object> extendedData) |
static org.granite.tide.validators.InvalidValue[] |
convertErrors(Errors errors) |
public static final String VALIDATION_FAILED
public SpringValidationExceptionConverter()
public boolean accepts(Throwable t, Throwable finalException)
accepts in interface org.granite.messaging.service.ExceptionConverterpublic org.granite.messaging.service.ServiceException convert(Throwable t, String detail, Map<String,Object> extendedData)
convert in interface org.granite.messaging.service.ExceptionConverterpublic static org.granite.tide.validators.InvalidValue[] convertErrors(Errors errors)