project/spring/springboot/getSpringFactoriesInstances/4.SpringBootExceptionReport...

15 lines
308 B
Markdown
Raw Normal View History

2022-03-19 05:50:06 -04:00
```java
public interface SpringBootExceptionReporter {
/**
* Report a startup failure to the user.
* @param failure the source failure
* @return {@code true} if the failure was reported or {@code false} if default
* reporting should occur.
*/
boolean reportException(Throwable failure);
}
```