Class 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
    • Method Detail

      • 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>