Class InvalidChecksumExceptionMapper

java.lang.Object
org.fcrepo.http.commons.exceptionhandlers.InvalidChecksumExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InvalidChecksumException>, ExceptionDebugLogging

@Provider public class InvalidChecksumExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InvalidChecksumException>, ExceptionDebugLogging
Translate InvalidChecksumException errors into reasonable HTTP error codes
Author:
awoods, ajs6f, cbeer
  • Constructor Details

  • Method Details

    • toResponse

      public javax.ws.rs.core.Response toResponse(org.fcrepo.kernel.api.exception.InvalidChecksumException e)
      Specified by:
      toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InvalidChecksumException>