edu.harvard.med.countway.dl.rest
Class SQLExceptionMapper

java.lang.Object
  extended by edu.harvard.med.countway.dl.rest.SQLExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<java.sql.SQLException>

@Provider
public class SQLExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<java.sql.SQLException>


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

Constructor Detail

SQLExceptionMapper

public SQLExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(java.sql.SQLException e)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<java.sql.SQLException>


Copyright © 2010. All Rights Reserved.