类 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
封闭类:
WebMvcGlobalExceptionHandlerAutoConfigure

@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

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • 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 - messageSource
      stackTracesHandler - 堆栈处理
      globalExceptionLogger - 全局异常处理日志记录器
      globalExceptionProperties - 全局异常处理配置