@Provider public class PermissionDeniedMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<PermissionDenied>
PermissionDenied
exception to the Unauthorized response.Constructor and Description |
---|
PermissionDeniedMapper() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
toResponse(PermissionDenied e) |
public javax.ws.rs.core.Response toResponse(PermissionDenied e)
toResponse
in interface javax.ws.rs.ext.ExceptionMapper<PermissionDenied>
Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.