15 lines
308 B
Markdown
15 lines
308 B
Markdown
|
```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);
|
||
|
|
||
|
}
|
||
|
```
|
||
|
|