Class PreconditionExceptionMapper
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.PreconditionExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<PreconditionException>
,ExceptionDebugLogging
@Provider public class PreconditionExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<PreconditionException>, ExceptionDebugLogging
Maps PreconditionException to an appropriate http response.- Since:
- Jun 22, 2017
- Author:
- Daniel Bernstein
-
-
Constructor Summary
Constructors Constructor Description PreconditionExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(PreconditionException 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
-
PreconditionExceptionMapper
public PreconditionExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(PreconditionException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<PreconditionException>
-
-