类 WebMvcGlobalExceptionHandlerAutoConfigure.DefaultWebMvcGlobalExceptionHandler
java.lang.Object
net.guerlab.cloud.web.core.exception.handler.GlobalExceptionHandler
net.guerlab.cloud.web.webmvc.exception.handler.WebMvcGlobalExceptionHandler
net.guerlab.cloud.web.webmvc.autoconfigure.WebMvcGlobalExceptionHandlerAutoConfigure.DefaultWebMvcGlobalExceptionHandler
@RestControllerAdvice
public static class WebMvcGlobalExceptionHandlerAutoConfigure.DefaultWebMvcGlobalExceptionHandler
extends WebMvcGlobalExceptionHandler
异常统一处理配置.
- 作者:
- guer
-
字段概要
从类继承的字段 net.guerlab.cloud.web.core.exception.handler.GlobalExceptionHandler
builders, globalExceptionLogger, messageSource, stackTracesHandler -
构造器概要
构造器构造器说明DefaultWebMvcGlobalExceptionHandler(org.springframework.context.MessageSource messageSource, net.guerlab.cloud.commons.exception.handler.StackTracesHandler stackTracesHandler, net.guerlab.cloud.web.core.exception.handler.GlobalExceptionLogger globalExceptionLogger, net.guerlab.cloud.web.core.properties.GlobalExceptionProperties globalExceptionProperties) 初始化异常统一处理配置. -
方法概要
从类继承的方法 net.guerlab.cloud.web.webmvc.exception.handler.WebMvcGlobalExceptionHandler
exceptionHandler0从类继承的方法 net.guerlab.cloud.web.core.exception.handler.GlobalExceptionHandler
build, getGlobalExceptionLogger
-
构造器详细资料
-
DefaultWebMvcGlobalExceptionHandler
public DefaultWebMvcGlobalExceptionHandler(org.springframework.context.MessageSource messageSource, net.guerlab.cloud.commons.exception.handler.StackTracesHandler stackTracesHandler, net.guerlab.cloud.web.core.exception.handler.GlobalExceptionLogger globalExceptionLogger, net.guerlab.cloud.web.core.properties.GlobalExceptionProperties globalExceptionProperties) 初始化异常统一处理配置.- 参数:
messageSource- messageSourcestackTracesHandler- 堆栈处理globalExceptionLogger- 全局异常处理日志记录器globalExceptionProperties- 全局异常处理配置
-