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