org.granite.tide.spring
Class SpringValidationExceptionConverter
java.lang.Object
org.granite.tide.spring.SpringValidationExceptionConverter
- All Implemented Interfaces:
- org.granite.messaging.service.ExceptionConverter
public class SpringValidationExceptionConverter
- extends Object
- implements org.granite.messaging.service.ExceptionConverter
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALIDATION_FAILED
public static final String VALIDATION_FAILED
- See Also:
- Constant Field Values
SpringValidationExceptionConverter
public SpringValidationExceptionConverter()
accepts
public boolean accepts(Throwable t,
Throwable finalException)
- Specified by:
accepts in interface org.granite.messaging.service.ExceptionConverter
convert
public org.granite.messaging.service.ServiceException convert(Throwable t,
String detail,
Map<String,Object> extendedData)
- Specified by:
convert in interface org.granite.messaging.service.ExceptionConverter
convertErrors
public static org.granite.tide.validators.InvalidValue[] convertErrors(org.springframework.validation.Errors errors)