EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

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

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

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


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

Constructor Detail

DatabaseExceptionMapper

public DatabaseExceptionMapper()
Method Detail

toResponse

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

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference