Class ViewControllerAdvice
java.lang.Object
se.swedenconnect.bankid.idp.authn.error.ViewControllerAdvice
@RestControllerAdvice(annotations=ViewController.class)
public class ViewControllerAdvice
extends Object
Controller advice for view error handling.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionHandles uncaught exceptions for /view routes
-
Constructor Details
-
ViewControllerAdvice
public ViewControllerAdvice()
-
-
Method Details
-
defaultHandler
Handles uncaught exceptions for /view routes- Parameters:
e
- Uncaught exception to handle- Returns:
- redirect to error view
-