Class RepositoryExceptionMapper
- java.lang.Object
-
- org.fcrepo.http.commons.exceptionhandlers.RepositoryExceptionMapper
-
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<RepositoryException>
,ExceptionDebugLogging
@Provider public class RepositoryExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RepositoryException>, ExceptionDebugLogging
Provide a quasi-useful stacktrace when a generic RepositoryException is caught- Author:
- awoods
-
-
Constructor Summary
Constructors Constructor Description RepositoryExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
toResponse(RepositoryException 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
-
-
-
-
Constructor Detail
-
RepositoryExceptionMapper
public RepositoryExceptionMapper()
-
-
Method Detail
-
toResponse
public javax.ws.rs.core.Response toResponse(RepositoryException e)
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<RepositoryException>
-
-