@Provider public class ParameterValidationExceptionMapper extends AbstractExceptionMapper<ParameterValidationException>
| Constructor and Description | 
|---|
| ParameterValidationExceptionMapper() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getErrorMessage(ParameterValidationException exception)Get the message of the exception in mapper. | 
| int | getStatusCode() | 
| ApiResult<Object> | handle(ParameterValidationException exception,
      ApiResult<Object> apiResult)Subclass can override this method to add more detailed information to the response via the
 api result. | 
getCurrentUserLocale, getLocalizedMessage, toResponsepublic String getErrorMessage(ParameterValidationException exception)
AbstractExceptionMappergetErrorMessage in class AbstractExceptionMapper<ParameterValidationException>exception - thrownpublic int getStatusCode()
getStatusCode in class AbstractExceptionMapper<ParameterValidationException>public ApiResult<Object> handle(ParameterValidationException exception, ApiResult<Object> apiResult)
AbstractExceptionMapperhandle in class AbstractExceptionMapper<ParameterValidationException>exception - The exception.apiResult - The api result this mapper can handle with.ApiResult which should be used for the response.Copyright © 2019 Communote team. All rights reserved.