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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(org.fcrepo.kernel.api.exception.InsufficientStorageException e) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fcrepo.http.commons.exceptionhandlers.ExceptionDebugLogging
debugException
-
Field Details
-
INSUFFICIENT_STORAGE_HTTP_CODE
- See Also:
-
-
Constructor Details
-
InsufficientStorageExceptionMapper
public InsufficientStorageExceptionMapper()
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(org.fcrepo.kernel.api.exception.InsufficientStorageException e) - Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.InsufficientStorageException>
-