Apache CXF API

org.apache.cxf.jaxrs.validation
Class ValidationExceptionMapper

java.lang.Object
  extended by 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>


Constructor Summary
ValidationExceptionMapper()
           
 
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
 

Constructor Detail

ValidationExceptionMapper

public ValidationExceptionMapper()
Method Detail

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 API

Apache CXF