com.atlassian.plugins.rest.common.error.jersey
Class NotFoundExceptionMapper

java.lang.Object
  extended by com.atlassian.plugins.rest.common.error.jersey.NotFoundExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<com.sun.jersey.api.NotFoundException>

public class NotFoundExceptionMapper
extends java.lang.Object
implements javax.ws.rs.ext.ExceptionMapper<com.sun.jersey.api.NotFoundException>

A generic exception mapper that will map not found exceptions.

Since:
1.0

Constructor Summary
NotFoundExceptionMapper()
           
 
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
 

Constructor Detail

NotFoundExceptionMapper

public NotFoundExceptionMapper()
Method Detail

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 © 2014 Atlassian. All Rights Reserved.