Class InsufficientStorageExceptionMapper

  • All Implemented Interfaces:
    javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InsufficientStorageException>, ExceptionDebugLogging

    @Provider
    public class InsufficientStorageExceptionMapper
    extends Object
    implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InsufficientStorageException>, ExceptionDebugLogging
    Translate InsufficientStorageException errors into HTTP error codes
    Since:
    Oct 7, 2016
    Author:
    Daniel Bernstein
    • Method Detail

      • toResponse

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