Class GlobalExceptionHandler
- java.lang.Object
-
- de.adorsys.psd2.sandbox.certificate.exception.GlobalExceptionHandler
-
@RestControllerAdvice(basePackages="de.adorsys.psd2.sandbox.certificate.controller") public class GlobalExceptionHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description GlobalExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Map<String,String>>handleCertificateException(CertificateException e, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntity<Map<String,String>>handleInvalidFormatException(com.fasterxml.jackson.databind.exc.InvalidFormatException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
-
-
Method Detail
-
handleInvalidFormatException
@ExceptionHandler(com.fasterxml.jackson.databind.exc.InvalidFormatException.class) public org.springframework.http.ResponseEntity<Map<String,String>> handleInvalidFormatException(com.fasterxml.jackson.databind.exc.InvalidFormatException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
handleCertificateException
@ExceptionHandler(CertificateException.class) public org.springframework.http.ResponseEntity<Map<String,String>> handleCertificateException(CertificateException e, org.springframework.web.method.HandlerMethod handlerMethod)
-
-