Class InsufficientStorageExceptionMapper
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.InsufficientStorageExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<InsufficientStorageException>
,ExceptionDebugLogging
@Provider public class InsufficientStorageExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<InsufficientStorageException>, ExceptionDebugLogging
Translate InsufficientStorageException errors into HTTP error codes- Since:
- Oct 7, 2016
- Author:
- Daniel Bernstein
-
-
Field Summary
Fields Modifier and Type Field Description static int
INSUFFICIENT_STORAGE_HTTP_CODE
-
Constructor Summary
Constructors Constructor Description InsufficientStorageExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(InsufficientStorageException e)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.fcrepo.http.commons.exceptionhandlers.ExceptionDebugLogging
debugException
-
-
-
-
Field Detail
-
INSUFFICIENT_STORAGE_HTTP_CODE
public static final int INSUFFICIENT_STORAGE_HTTP_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InsufficientStorageExceptionMapper
public InsufficientStorageExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(InsufficientStorageException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<InsufficientStorageException>
-
-