Class UnsupportedAlgorithmExceptionMapper

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

@Provider public class UnsupportedAlgorithmExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.UnsupportedAlgorithmException>, ExceptionDebugLogging
Translate UnsupportedAlgorithmException errors into reasonable HTTP error codes
Since:
2017-09-12
Author:
harring
  • Constructor Details

  • Method Details

    • toResponse

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