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