Home / Function/ defaultExceptionConversionWord() — spring-boot Function Reference

defaultExceptionConversionWord() — spring-boot Function Reference

Architecture documentation for the defaultExceptionConversionWord() function in LoggingApplicationListenerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  9b5c2da7_848d_c82e_27bf_1f295cff3a35["defaultExceptionConversionWord()"]
  2708db62_8b10_9bf2_e348_171895b093f2["initialize()"]
  9b5c2da7_848d_c82e_27bf_1f295cff3a35 -->|calls| 2708db62_8b10_9bf2_e348_171895b093f2
  a74a6404_ac0b_ef50_4554_48366dd90b97["getEnvironment()"]
  9b5c2da7_848d_c82e_27bf_1f295cff3a35 -->|calls| a74a6404_ac0b_ef50_4554_48366dd90b97
  49a45454_f203_2fd5_2d77_322abb416244["getClassLoader()"]
  9b5c2da7_848d_c82e_27bf_1f295cff3a35 -->|calls| 49a45454_f203_2fd5_2d77_322abb416244
  style 9b5c2da7_848d_c82e_27bf_1f295cff3a35 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/logging/LoggingApplicationListenerTests.java lines 419–425

	@Test
	void defaultExceptionConversionWord() {
		this.listener.initialize(this.context.getEnvironment(), getClassLoader());
		this.logger.info("Hello world", new RuntimeException("Wrapper", new RuntimeException("Expected")));
		assertThat(this.output).contains("Hello world");
		assertThat(this.output).doesNotContain("Wrapped by: java.lang.RuntimeException: Wrapper");
	}

Domain

Subdomains

Frequently Asked Questions

What does defaultExceptionConversionWord() do?
defaultExceptionConversionWord() is a function in the spring-boot codebase.
What does defaultExceptionConversionWord() call?
defaultExceptionConversionWord() calls 3 function(s): getClassLoader, getEnvironment, initialize.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free