eu.europa.tmsearch.services.resources.exceptions
Class ResourceNotFoundExceptionMapper

java.lang.Object
  extended by eu.europa.tmsearch.services.resources.exceptions.ResourceNotFoundExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<ResourceNotFoundException>

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


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

Constructor Detail

ResourceNotFoundExceptionMapper

public ResourceNotFoundExceptionMapper()
Method Detail

toResponse

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


Copyright © 2009. All Rights Reserved.