Class ItemNotFoundExceptionMapper

java.lang.Object
org.fcrepo.http.commons.exceptionhandlers.ItemNotFoundExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.ItemNotFoundException>, ExceptionDebugLogging

@Provider public class ItemNotFoundExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.ItemNotFoundException>, ExceptionDebugLogging
Catch ItemNotFoundException
Author:
pwinckles
  • Constructor Details

  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(org.fcrepo.kernel.api.exception.ItemNotFoundException e)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.ItemNotFoundException>