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