首页 > 编程语言 > 详细

spring boot 源码之SpringBootExceptionReporter

时间:2017-12-01 16:11:14      阅读:313      评论:0      收藏:0      [点我收藏+]

SpringBootExceptionReporter

  用户自定义异常处理回调接口。

public interface SpringBootExceptionReporter {
    boolean reportException(Throwable failure);
}

 SpringBootExceptionReporter通过SpringFactoriesLoader加载,必须第一个包含ConfigurableApplicationContext的构造函数。 

 

spring boot 源码之SpringBootExceptionReporter

原文:http://www.cnblogs.com/zhangwanhua/p/7942806.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!