Class InsufficientStorageExceptionMapper

java.lang.Object
org.fcrepo.http.commons.exceptionhandlers.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
  • Field Details

  • Constructor Details

  • Method Details

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