Class RepositoryExceptionMapper

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

@Provider public class RepositoryExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.RepositoryException>, ExceptionDebugLogging
Provide a quasi-useful stacktrace when a generic RepositoryException is caught
Author:
awoods
  • Constructor Details

  • Method Details

    • toResponse

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