@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, toResponse
public NoteManagementAuthorizationExceptionMapper()
public String getErrorMessage(NoteManagementAuthorizationException exception)
getErrorMessage
in class AbstractExceptionMapper<NoteManagementAuthorizationException>
exception
- thrownpublic int getStatusCode()
getStatusCode
in class AbstractExceptionMapper<NoteManagementAuthorizationException>
Response.Status.UNAUTHORIZED
Copyright © 2019 Communote team. All rights reserved.