Class TransactionRuntimeExceptionMapper
java.lang.Object
org.fcrepo.http.commons.exceptionhandlers.TransactionRuntimeExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.TransactionRuntimeException>,ExceptionDebugLogging
@Provider
public class TransactionRuntimeExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.TransactionRuntimeException>, ExceptionDebugLogging
Mapper for transaction exceptions
- Author:
- bbpennel
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(org.fcrepo.kernel.api.exception.TransactionRuntimeException exception) 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
-
TransactionRuntimeExceptionMapper
public TransactionRuntimeExceptionMapper()
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(org.fcrepo.kernel.api.exception.TransactionRuntimeException exception) - Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.TransactionRuntimeException>
-