EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

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


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

Constructor Detail

EntityExistsExceptionMapper

public EntityExistsExceptionMapper()
Method Detail

toResponse

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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference