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