org.skyscreamer.yoga.demo.resteasy.resources
Class ResourceNotFoundException
java.lang.Object
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>
|
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 |
ResourceNotFoundException
public ResourceNotFoundException()
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 © 2012. All Rights Reserved.