Package swiss.trustbroker.exception
Class AppErrorViewResolver
java.lang.Object
swiss.trustbroker.exception.AppErrorViewResolver
- All Implemented Interfaces:
org.springframework.boot.webmvc.autoconfigure.error.ErrorViewResolver
@Component
public class AppErrorViewResolver
extends Object
implements org.springframework.boot.webmvc.autoconfigure.error.ErrorViewResolver
-
Constructor Summary
ConstructorsConstructorDescriptionAppErrorViewResolver(ApiSupport apiSupport, TrustBrokerProperties trustBrokerProperties) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewresolveErrorView(jakarta.servlet.http.HttpServletRequest request, org.springframework.http.HttpStatus status, Map<String, Object> model)
-
Constructor Details
-
AppErrorViewResolver
-
-
Method Details
-
resolveErrorView
public org.springframework.web.servlet.ModelAndView resolveErrorView(jakarta.servlet.http.HttpServletRequest request, org.springframework.http.HttpStatus status, Map<String, Object> model) - Specified by:
resolveErrorViewin interfaceorg.springframework.boot.webmvc.autoconfigure.error.ErrorViewResolver
-