Class 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
    • Method Detail

      • 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>