com.parthparekh.service.exception
Class NoDataFoundExceptionMapper

java.lang.Object
  extended by com.parthparekh.service.exception.NoDataFoundExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<NoDataFoundException>

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

NoDataFoundException mapper class


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

Constructor Detail

NoDataFoundExceptionMapper

public NoDataFoundExceptionMapper()
Method Detail

toResponse

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