org.skyscreamer.yoga.demo.resteasy.resources
Class ResourceNotFoundException

java.lang.Object
  extended by org.skyscreamer.yoga.demo.resteasy.resources.ResourceNotFoundException
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.hibernate.ObjectNotFoundException>

@Component
@Provider
public class ResourceNotFoundException
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.hibernate.ObjectNotFoundException>


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

Constructor Detail

ResourceNotFoundException

public ResourceNotFoundException()
Method Detail

toResponse

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


Copyright © 2011. All Rights Reserved.