public class JsonParseExceptionMapper extends Object implements ExceptionMapper<org.codehaus.jackson.JsonParseException>
AUTHENTICATION_ERROR, AUTHORIZATION_ERROR, BAD_REQUEST, FORBIDDEN, ILLEGAL_PARAMETERS_ERROR, INTERNAL_ERROR, NOT_ACCEPTABLE, NOT_FOUND, OKAY, UNKNOWN_ERROR, VALIDATION_ERROR, WARNING| Constructor and Description |
|---|
JsonParseExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
Class<org.codehaus.jackson.JsonParseException> |
getExceptionClass() |
Status |
mapException(org.codehaus.jackson.JsonParseException exception)
Maps the given exception to a status.
|
public Class<org.codehaus.jackson.JsonParseException> getExceptionClass()
getExceptionClass in interface ExceptionMapper<org.codehaus.jackson.JsonParseException>public Status mapException(org.codehaus.jackson.JsonParseException exception)
mapException in interface ExceptionMapper<org.codehaus.jackson.JsonParseException>exception - The exception to map.Copyright © 2019 Communote team. All rights reserved.