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