@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 - public javax.ws.rs.core.Response toResponse(RepositoryRuntimeException e)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<RepositoryRuntimeException>Copyright © 2013-2014 DuraSpace, Inc.. All Rights Reserved.