com.restfully.shop.services
Class NotFoundExceptionMapper

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

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

Version:
$Revision: 1 $
Author:
Bill Burke

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

Constructor Detail

NotFoundExceptionMapper

public NotFoundExceptionMapper()
Method Detail

toResponse

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


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