Class ResourceTypeExceptionMapper
java.lang.Object
org.fcrepo.http.commons.exceptionhandlers.ResourceTypeExceptionMapper
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.ResourceTypeException>,ExceptionDebugLogging
@Provider
public class ResourceTypeExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.ResourceTypeException>, ExceptionDebugLogging
- Since:
- 9/15/14
- Author:
- cabeer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.ResponsetoResponse(org.fcrepo.kernel.api.exception.ResourceTypeException 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
-
Constructor Details
-
ResourceTypeExceptionMapper
public ResourceTypeExceptionMapper()
-
-
Method Details
-
toResponse
public javax.ws.rs.core.Response toResponse(org.fcrepo.kernel.api.exception.ResourceTypeException e) - Specified by:
toResponsein interfacejavax.ws.rs.ext.ExceptionMapper<org.fcrepo.kernel.api.exception.ResourceTypeException>
-