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