org.apache.cxf.jaxrs.validation
Class ValidationExceptionMapper
java.lang.Object
org.apache.cxf.jaxrs.validation.ValidationExceptionMapper
- All Implemented Interfaces:
- javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
@Provider
public class ValidationExceptionMapper
- extends Object
- implements javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
Method Summary |
javax.ws.rs.core.Response |
toResponse(javax.validation.ValidationException exception)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationExceptionMapper
public ValidationExceptionMapper()
toResponse
public javax.ws.rs.core.Response toResponse(javax.validation.ValidationException exception)
- Specified by:
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<javax.validation.ValidationException>
Apache CXF