@ControllerAdvice public class CustomErrorViewResolver extends Object implements org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver
Constructor and Description |
---|
CustomErrorViewResolver() |
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.ModelAndView |
resolveErrorView(javax.servlet.http.HttpServletRequest request,
org.springframework.http.HttpStatus status,
Map<String,Object> model) |
public org.springframework.web.servlet.ModelAndView resolveErrorView(javax.servlet.http.HttpServletRequest request, org.springframework.http.HttpStatus status, Map<String,Object> model)
resolveErrorView
in interface org.springframework.boot.autoconfigure.web.servlet.error.ErrorViewResolver
Copyright © 2019. All rights reserved.