Class InvalidPrefixExceptionMapper

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

@Provider public class InvalidPrefixExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InvalidPrefixException>, ExceptionDebugLogging
For invalid namespace exceptions on CRUD actions for nodes/datastreams
Since:
November 2, 2015
Author:
nianma
  • Constructor Details

  • Method Details

    • toResponse

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