public class RestApiIllegalRequestParameterExceptionMapper extends Object implements ExceptionMapper<RestApiIllegalRequestParameterException>
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 |
---|
RestApiIllegalRequestParameterExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
Class<RestApiIllegalRequestParameterException> |
getExceptionClass() |
Status |
mapException(RestApiIllegalRequestParameterException exception)
Maps the given exception to a status.
|
public RestApiIllegalRequestParameterExceptionMapper()
public Class<RestApiIllegalRequestParameterException> getExceptionClass()
getExceptionClass
in interface ExceptionMapper<RestApiIllegalRequestParameterException>
public Status mapException(RestApiIllegalRequestParameterException exception)
mapException
in interface ExceptionMapper<RestApiIllegalRequestParameterException>
exception
- The exception to map.Copyright © 2019 Communote team. All rights reserved.