com.restfully.shop.services
Class EntityNotFoundExceptionMapper

java.lang.Object
  extended by com.restfully.shop.services.EntityNotFoundExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<javax.persistence.EntityNotFoundException>

@Provider
public class EntityNotFoundExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<javax.persistence.EntityNotFoundException>

Version:
$Revision: 1 $
Author:
Bill Burke

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

Constructor Detail

EntityNotFoundExceptionMapper

public EntityNotFoundExceptionMapper()
Method Detail

toResponse

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


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.