Class TppExceptionAdvisor


  • @RestControllerAdvice(basePackages="de.adorsys.psd2.sandbox.tpp.rest.server.controller")
    public class TppExceptionAdvisor
    extends Object
    • Constructor Detail

      • TppExceptionAdvisor

        public TppExceptionAdvisor()
    • Method Detail

      • handleException

        @ExceptionHandler(java.lang.Exception.class)
        public org.springframework.http.ResponseEntity<Map> handleException​(Exception ex,
                                                                            org.springframework.web.method.HandlerMethod handlerMethod)
      • handleTppException

        @ExceptionHandler(TppException.class)
        public org.springframework.http.ResponseEntity<Map> handleTppException​(TppException ex,
                                                                               org.springframework.web.method.HandlerMethod handlerMethod)
      • handleFeignException

        @ExceptionHandler(feign.FeignException.class)
        public org.springframework.http.ResponseEntity<Map> handleFeignException​(feign.FeignException ex,
                                                                                 org.springframework.web.method.HandlerMethod handlerMethod)