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