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