throwableFromInitializeResultsInGracefulFailure() — spring-boot Function Reference
Architecture documentation for the throwableFromInitializeResultsInGracefulFailure() function in LoggingApplicationListenerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 29101dd7_b9c1_b3f0_b337_734a62d8205d["throwableFromInitializeResultsInGracefulFailure()"] b21aabff_7677_28df_125a_1805aeda834e["multicastEvent()"] 29101dd7_b9c1_b3f0_b337_734a62d8205d -->|calls| b21aabff_7677_28df_125a_1805aeda834e be3bab95_2d77_cc83_e74d_439204d631d0["ApplicationStartingEvent()"] 29101dd7_b9c1_b3f0_b337_734a62d8205d -->|calls| be3bab95_2d77_cc83_e74d_439204d631d0 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3["SpringApplication()"] 29101dd7_b9c1_b3f0_b337_734a62d8205d -->|calls| 16b51c89_dde4_bfa7_4c6d_cd813dd33ba3 2708db62_8b10_9bf2_e348_171895b093f2["initialize()"] 29101dd7_b9c1_b3f0_b337_734a62d8205d -->|calls| 2708db62_8b10_9bf2_e348_171895b093f2 a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"] 29101dd7_b9c1_b3f0_b337_734a62d8205d -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97 49a45454_f203_2fd5_2d77_322abb416244["getClassLoader()"] 29101dd7_b9c1_b3f0_b337_734a62d8205d -->|calls| 49a45454_f203_2fd5_2d77_322abb416244 5442b6c9_c948_65c9_3b32_df1993add6a2["getName()"] 29101dd7_b9c1_b3f0_b337_734a62d8205d -->|calls| 5442b6c9_c948_65c9_3b32_df1993add6a2 style 29101dd7_b9c1_b3f0_b337_734a62d8205d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java lines 177–185
@Test
void throwableFromInitializeResultsInGracefulFailure(CapturedOutput output) {
System.setProperty(LoggingSystem.SYSTEM_PROPERTY, BrokenInitializationLoggingSystem.class.getName());
multicastEvent(this.listener,
new ApplicationStartingEvent(this.bootstrapContext, new SpringApplication(), NO_ARGS));
assertThatIllegalStateException()
.isThrownBy(() -> this.listener.initialize(this.context.getEnvironment(), getClassLoader()));
assertThat(output).contains("Deliberately broken");
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does throwableFromInitializeResultsInGracefulFailure() do?
throwableFromInitializeResultsInGracefulFailure() is a function in the spring-boot codebase.
What does throwableFromInitializeResultsInGracefulFailure() call?
throwableFromInitializeResultsInGracefulFailure() calls 7 function(s): ApplicationStartingEvent, SpringApplication, getClassLoader, getEnvironment, getName, initialize, multicastEvent.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free