Class GenericControllerAdvice
- java.lang.Object
-
- de.adorsys.opba.tppauthapi.controller.GenericControllerAdvice
-
@ControllerAdvice(basePackageClasses=PsuAuthController.class) public class GenericControllerAdvice extends Object
-
-
Constructor Summary
Constructors Constructor Description GenericControllerAdvice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<List<String>>handleException(Exception ex)org.springframework.http.ResponseEntity<List<String>>handleNoProtocolException(Exception ex)org.springframework.http.ResponseEntity<List<String>>handleUnauthorizedException(Exception ex)org.springframework.http.ResponseEntity<List<String>>handleUserDoesNotExistException(PsuAuthenticationException ex)org.springframework.http.ResponseEntity<List<String>>handleUserExistsException(PsuRegisterException ex)
-
-
-
Method Detail
-
handleUserExistsException
@ExceptionHandler(de.adorsys.opba.protocol.facade.exceptions.PsuRegisterException.class) public org.springframework.http.ResponseEntity<List<String>> handleUserExistsException(PsuRegisterException ex)
-
handleUserDoesNotExistException
@ExceptionHandler(de.adorsys.opba.protocol.facade.exceptions.PsuAuthenticationException.class) public org.springframework.http.ResponseEntity<List<String>> handleUserDoesNotExistException(PsuAuthenticationException ex)
-
handleUnauthorizedException
@ExceptionHandler(de.adorsys.opba.protocol.facade.exceptions.PsuAuthorizationException.class) public org.springframework.http.ResponseEntity<List<String>> handleUnauthorizedException(Exception ex)
-
handleNoProtocolException
@ExceptionHandler(de.adorsys.opba.protocol.facade.exceptions.NoProtocolRegisteredException.class) public org.springframework.http.ResponseEntity<List<String>> handleNoProtocolException(Exception ex)
-
handleException
@ExceptionHandler(java.lang.RuntimeException.class) public org.springframework.http.ResponseEntity<List<String>> handleException(Exception ex)
-
-