@Provider public class RepositoryRuntimeExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RepositoryRuntimeException>, ExceptionDebugLogging
Constructor and Description |
---|
RepositoryRuntimeExceptionMapper(javax.ws.rs.ext.Providers providers)
Get the context Providers so we can rethrow the cause to an appropriate handler
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(RepositoryRuntimeException e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
debugException
public RepositoryRuntimeExceptionMapper(@Context javax.ws.rs.ext.Providers providers)
providers
- the providerspublic javax.ws.rs.core.Response toResponse(RepositoryRuntimeException e)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<RepositoryRuntimeException>
Copyright © 2013–2019 DuraSpace, Inc.. All rights reserved.