@Provider public class CommunoteEntityNotFoundExceptionMapper extends AbstractExceptionMapper<CommunoteEntityNotFoundException>
| Constructor and Description |
|---|
CommunoteEntityNotFoundExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage(CommunoteEntityNotFoundException exception)
Get the message of the exception in mapper.
|
int |
getStatusCode() |
getCurrentUserLocale, getLocalizedMessage, handle, toResponsepublic CommunoteEntityNotFoundExceptionMapper()
public String getErrorMessage(CommunoteEntityNotFoundException exception)
AbstractExceptionMappergetErrorMessage in class AbstractExceptionMapper<CommunoteEntityNotFoundException>exception - thrownpublic int getStatusCode()
getStatusCode in class AbstractExceptionMapper<CommunoteEntityNotFoundException>Response.Status.FORBIDDENCopyright © 2019 Communote team. All rights reserved.