com.thoughtworks.inproctester.jerseytester.testapp
Class NotFoundExceptionMapper
java.lang.Object
com.thoughtworks.inproctester.jerseytester.testapp.NotFoundExceptionMapper
- All Implemented Interfaces:
- javax.ws.rs.ext.ExceptionMapper<com.sun.jersey.api.NotFoundException>
@Provider
public class NotFoundExceptionMapper
- extends Object
- implements javax.ws.rs.ext.ExceptionMapper<com.sun.jersey.api.NotFoundException>
|
Method Summary |
javax.ws.rs.core.Response |
toResponse(com.sun.jersey.api.NotFoundException exception)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotFoundExceptionMapper
public NotFoundExceptionMapper()
toResponse
public javax.ws.rs.core.Response toResponse(com.sun.jersey.api.NotFoundException exception)
- Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<com.sun.jersey.api.NotFoundException>
Copyright © 2012. All Rights Reserved.