@Provider public class MissingOrInvalidUserErrorMapper extends Object implements javax.ws.rs.ext.ExceptionMapper<MissingOrInvalidUser>
MissingOrInvalidUser exception to the Bad Request response.
This is distinct from the case where a valid user was supplied but was not
authorised to perform a particular action.| Constructor and Description |
|---|
MissingOrInvalidUserErrorMapper() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
toResponse(MissingOrInvalidUser e) |
public javax.ws.rs.core.Response toResponse(MissingOrInvalidUser e)
toResponse in interface javax.ws.rs.ext.ExceptionMapper<MissingOrInvalidUser>Copyright © 2018 The European Holocaust Research Infrastructure (EHRI). All rights reserved.