@Provider public class EntityNotFoundExceptionMapper extends AbstractExceptionMapper<EntityNotFoundException>
EntityNotFoundException to a response containing a JSON error object.| Constructor and Description |
|---|
EntityNotFoundExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response.Status |
getStatus(EntityNotFoundException exception)
Translate the exception to an HTTP
Response.Status. |
getWellComposedErrorBody, logException, toResponseprotected javax.ws.rs.core.Response.Status getStatus(EntityNotFoundException exception)
AbstractExceptionMapperResponse.Status.getStatus in class AbstractExceptionMapper<EntityNotFoundException>Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.