@ControllerAdvice(basePackages={"de.adorsys.psd2.consent.web.aspsp.controller","de.adorsys.psd2.consent.web.psu.controller","de.adorsys.psd2.consent.web.xs2a.controller"})
public class GlobalExceptionHandler
extends Object
| Constructor and Description |
|---|
GlobalExceptionHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<String> |
exception(Exception ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<String> exception(Exception ex, org.springframework.web.method.HandlerMethod handlerMethod)
Copyright © 2019. All rights reserved.