@RestControllerAdvice(basePackages="de.adorsys.psd2.certificate.generator.controller") public class GlobalExceptionHandler extends Object
| Constructor and Description |
|---|
GlobalExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Map<String,String>> |
handleCertificateException(CertificateGeneratorException 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) |
@ExceptionHandler(value=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)
@ExceptionHandler(value=CertificateGeneratorException.class) public org.springframework.http.ResponseEntity<Map<String,String>> handleCertificateException(CertificateGeneratorException e, org.springframework.web.method.HandlerMethod handlerMethod)
Copyright © 2020. All rights reserved.