Class CannotCreateMementoExceptionMapper

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

@Provider public class CannotCreateMementoExceptionMapper extends ConstraintExceptionMapper<org.fcrepo.kernel.api.exception.CannotCreateMementoException> implements ExceptionDebugLogging
A mapper for memento creation exceptions
Author:
dbernstein
  • Constructor Details

  • Method Details

    • toResponse

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