EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.rs.exceptions
Class JAXBExceptionMapper

java.lang.Object
  extended by org.eclipse.persistence.jpa.rs.exceptions.JAXBExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<JAXBException>

@Provider
public class JAXBExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<JAXBException>


Constructor Summary
JAXBExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(JAXBException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBExceptionMapper

public JAXBExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(JAXBException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<JAXBException>

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference