EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

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


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

Constructor Detail

PersistenceExceptionMapper

public PersistenceExceptionMapper()
Method Detail

toResponse

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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference