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