@Provider public class RepositoryRuntimeExceptionMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<RepositoryRuntimeException>
| Constructor and Description |
|---|
RepositoryRuntimeExceptionMapper(javax.ws.rs.ext.Providers providers)
Get the context Providers so we can rethrow the cause to an appropriate handler
|
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–2015 DuraSpace, Inc.. All rights reserved.