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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(org.fcrepo.persistence.api.exceptions.PersistentItemConflictException e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fcrepo.http.commons.exceptionhandlers.ExceptionDebugLogging
debugException
-
Constructor Details
-
PersistentItemConflictExceptionMapper
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(org.fcrepo.persistence.api.exceptions.PersistentItemConflictException e) - Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<org.fcrepo.persistence.api.exceptions.PersistentItemConflictException>
-