Class PersistentItemConflictExceptionMapper

java.lang.Object
org.fcrepo.http.commons.exceptionhandlers.PersistentItemConflictExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.fcrepo.persistence.api.exceptions.PersistentItemConflictException>, ExceptionDebugLogging

@Provider public class PersistentItemConflictExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.persistence.api.exceptions.PersistentItemConflictException>, ExceptionDebugLogging
Maps PersistentItemConflictException to an appropriate http response.
Since:
1/29/2020
Author:
dbernstein
  • Constructor Details

  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(org.fcrepo.persistence.api.exceptions.PersistentItemConflictException e)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.fcrepo.persistence.api.exceptions.PersistentItemConflictException>