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