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

bindExceptionWithNestedFailureShouldDisplayNestedMessage() — spring-boot Function Reference

Architecture documentation for the bindExceptionWithNestedFailureShouldDisplayNestedMessage() function in BindFailureAnalyzerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  7642f8b3_f4a2_0a4b_3f30_c12907fd4425["bindExceptionWithNestedFailureShouldDisplayNestedMessage()"]
  5ea58bee_36a0_0a67_3be2_94966b3d4680["performAnalysis()"]
  7642f8b3_f4a2_0a4b_3f30_c12907fd4425 -->|calls| 5ea58bee_36a0_0a67_3be2_94966b3d4680
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  7642f8b3_f4a2_0a4b_3f30_c12907fd4425 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  21ae38f0_6b24_f70c_e876_97bb99d768d1["failure()"]
  7642f8b3_f4a2_0a4b_3f30_c12907fd4425 -->|calls| 21ae38f0_6b24_f70c_e876_97bb99d768d1
  style 7642f8b3_f4a2_0a4b_3f30_c12907fd4425 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/BindFailureAnalyzerTests.java lines 79–85

	@Test
	void bindExceptionWithNestedFailureShouldDisplayNestedMessage() {
		FailureAnalysis analysis = performAnalysis(NestedFailureConfiguration.class, "test.foo.value=hello");
		assertThat(analysis).isNotNull();
		assertThat(analysis.getDescription()).contains(failure("test.foo.value", "hello",
				"\"test.foo.value\" from property source \"test\"", "java.lang.RuntimeException: This is a failure"));
	}

Domain

Subdomains

Frequently Asked Questions

What does bindExceptionWithNestedFailureShouldDisplayNestedMessage() do?
bindExceptionWithNestedFailureShouldDisplayNestedMessage() is a function in the spring-boot codebase.
What does bindExceptionWithNestedFailureShouldDisplayNestedMessage() call?
bindExceptionWithNestedFailureShouldDisplayNestedMessage() calls 3 function(s): failure, getDescription, performAnalysis.

Analyze Your Own Codebase

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

Try Supermodel Free