Class InvalidChecksumExceptionMapper
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.InvalidChecksumExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<InvalidChecksumException>
,ExceptionDebugLogging
@Provider public class InvalidChecksumExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<InvalidChecksumException>, ExceptionDebugLogging
Translate InvalidChecksumException errors into reasonable HTTP error codes- Author:
- awoods, ajs6f, cbeer
-
-
Constructor Summary
Constructors Constructor Description InvalidChecksumExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(InvalidChecksumException 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
-
InvalidChecksumExceptionMapper
public InvalidChecksumExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(InvalidChecksumException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<InvalidChecksumException>
-
-