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