@FunctionalInterface public interface SpringBootExceptionReporter
SpringApplication
startup errors. reporters
are loaded via the
SpringFactoriesLoader
and must declare a public constructor with a single
ConfigurableApplicationContext
parameter.ApplicationContextAware
Modifier and Type | Method and Description |
---|---|
boolean |
reportException(Throwable failure)
Report a startup failure to the user.
|
boolean reportException(Throwable failure)
failure
- the source failuretrue
if the failure was reported or false
if default
reporting should occur.Copyright © 2021 Pivotal Software, Inc.. All rights reserved.