@RestControllerAdvice public class KeymanagerExceptionHandler extends Object
| Constructor and Description |
|---|
KeymanagerExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
cryptoException(javax.servlet.http.HttpServletRequest httpServletRequest,
CryptoException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
dateTimeParseException(javax.servlet.http.HttpServletRequest httpServletRequest,
java.time.format.DateTimeParseException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
defaultErrorHandler(javax.servlet.http.HttpServletRequest httpServletRequest,
Exception e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
invalidApplicationIdException(javax.servlet.http.HttpServletRequest httpServletRequest,
InvalidApplicationIdException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
invalidDataException(javax.servlet.http.HttpServletRequest httpServletRequest,
InvalidDataException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
invalidFormatException(javax.servlet.http.HttpServletRequest httpServletRequest,
com.fasterxml.jackson.databind.exc.InvalidFormatException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
invalidKeyException(javax.servlet.http.HttpServletRequest httpServletRequest,
InvalidKeyException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
keymanagerServiceException(javax.servlet.http.HttpServletRequest httpServletRequest,
CryptoException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
methodArgumentNotValidException(javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.web.bind.MethodArgumentNotValidException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
noSuchAlgorithmException(javax.servlet.http.HttpServletRequest httpServletRequest,
NoSuchAlgorithmException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
noUniqueAliasException(javax.servlet.http.HttpServletRequest httpServletRequest,
NoUniqueAliasException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
nullDataException(javax.servlet.http.HttpServletRequest httpServletRequest,
NullDataException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
onHttpMessageNotReadable(javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.http.converter.HttpMessageNotReadableException e) |
org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> |
onMissingServletRequestParameterException(javax.servlet.http.HttpServletRequest httpServletRequest,
org.springframework.web.bind.MissingServletRequestParameterException e) |
@ExceptionHandler(value=io.mosip.kernel.core.crypto.exception.NullDataException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> nullDataException(javax.servlet.http.HttpServletRequest httpServletRequest, NullDataException e) throws IOException
IOException@ExceptionHandler(value=io.mosip.kernel.core.crypto.exception.InvalidKeyException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> invalidKeyException(javax.servlet.http.HttpServletRequest httpServletRequest, InvalidKeyException e) throws IOException
IOException@ExceptionHandler(value=io.mosip.kernel.core.exception.NoSuchAlgorithmException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> noSuchAlgorithmException(javax.servlet.http.HttpServletRequest httpServletRequest, NoSuchAlgorithmException e) throws IOException
IOException@ExceptionHandler(value=com.fasterxml.jackson.databind.exc.InvalidFormatException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> invalidFormatException(javax.servlet.http.HttpServletRequest httpServletRequest, com.fasterxml.jackson.databind.exc.InvalidFormatException e) throws IOException
IOException@ExceptionHandler(value=java.time.format.DateTimeParseException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> dateTimeParseException(javax.servlet.http.HttpServletRequest httpServletRequest, java.time.format.DateTimeParseException e) throws IOException
IOException@ExceptionHandler(value=io.mosip.kernel.core.crypto.exception.InvalidDataException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> invalidDataException(javax.servlet.http.HttpServletRequest httpServletRequest, InvalidDataException e) throws IOException
IOException@ExceptionHandler(value=NoUniqueAliasException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> noUniqueAliasException(javax.servlet.http.HttpServletRequest httpServletRequest, NoUniqueAliasException e) throws IOException
IOException@ExceptionHandler(value=CryptoException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> cryptoException(javax.servlet.http.HttpServletRequest httpServletRequest, CryptoException e) throws IOException
IOException@ExceptionHandler(value=KeymanagerServiceException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> keymanagerServiceException(javax.servlet.http.HttpServletRequest httpServletRequest, CryptoException e) throws IOException
IOException@ExceptionHandler(value=InvalidApplicationIdException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> invalidApplicationIdException(javax.servlet.http.HttpServletRequest httpServletRequest, InvalidApplicationIdException e) throws IOException
IOException@ExceptionHandler(value=org.springframework.web.bind.MethodArgumentNotValidException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> methodArgumentNotValidException(javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.web.bind.MethodArgumentNotValidException e) throws IOException
IOException@ExceptionHandler(value=org.springframework.http.converter.HttpMessageNotReadableException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> onHttpMessageNotReadable(javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.http.converter.HttpMessageNotReadableException e) throws IOException
IOException@ExceptionHandler(value=org.springframework.web.bind.MissingServletRequestParameterException.class) public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> onMissingServletRequestParameterException(javax.servlet.http.HttpServletRequest httpServletRequest, org.springframework.web.bind.MissingServletRequestParameterException e) throws IOException
IOException@ExceptionHandler(value={java.lang.Exception.class,java.lang.RuntimeException.class})
public org.springframework.http.ResponseEntity<ResponseWrapper<ServiceError>> defaultErrorHandler(javax.servlet.http.HttpServletRequest httpServletRequest,
Exception e)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.