Class PersistentItemConflictExceptionMapper
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.PersistentItemConflictExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<PersistentItemConflictException>
,ExceptionDebugLogging
@Provider public class PersistentItemConflictExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<PersistentItemConflictException>, ExceptionDebugLogging
Maps PersistentItemConflictException to an appropriate http response.- Since:
- 1/29/2020
- Author:
- dbernstein
-
-
Constructor Summary
Constructors Constructor Description PersistentItemConflictExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(PersistentItemConflictException e)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.http.commons.exceptionhandlers.ExceptionDebugLogging
debugException
-
-
-
-
Constructor Detail
-
PersistentItemConflictExceptionMapper
public PersistentItemConflictExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(PersistentItemConflictException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<PersistentItemConflictException>
-
-