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