接口 SpringBootExceptionReporter
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Callback interface used to support custom reporting of
SpringApplication
startup errors. reporters are loaded through the
SpringFactoriesLoader and must declare a public constructor with a single
ConfigurableApplicationContext parameter.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
- 另请参阅:
-
方法概要
-
方法详细资料
-
reportException
Report a startup failure to the user.- 参数:
failure- the source failure- 返回:
trueif the failure was reported orfalseif default reporting should occur.
-