@RestControllerAdvice(basePackages="de.adorsys.psd2.sandbox.tpp.rest.server.controller") public class TppExceptionAdvisor extends Object
| Constructor and Description |
|---|
TppExceptionAdvisor() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Map> |
handleException(Exception ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Map> |
handleFeignException(feign.FeignException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Map> |
handleTppException(TppException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<Map> handleException(Exception ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=TppException.class) public org.springframework.http.ResponseEntity<Map> handleTppException(TppException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=feign.FeignException.class) public org.springframework.http.ResponseEntity<Map> handleFeignException(feign.FeignException ex, org.springframework.web.method.HandlerMethod handlerMethod)
Copyright © 2020. All rights reserved.