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