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

analyzeWhenConfigDataLocationWithOriginNotFoundException() — spring-boot Function Reference

Architecture documentation for the analyzeWhenConfigDataLocationWithOriginNotFoundException() function in ConfigDataNotFoundFailureAnalyzerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  fe0efb00_c5a6_eb77_83b4_2309e83c5752["analyzeWhenConfigDataLocationWithOriginNotFoundException()"]
  788e4dbb_38f2_922c_28c2_8013255ac2f9["TestOrigin()"]
  fe0efb00_c5a6_eb77_83b4_2309e83c5752 -->|calls| 788e4dbb_38f2_922c_28c2_8013255ac2f9
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  fe0efb00_c5a6_eb77_83b4_2309e83c5752 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"]
  fe0efb00_c5a6_eb77_83b4_2309e83c5752 -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1
  style fe0efb00_c5a6_eb77_83b4_2309e83c5752 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataNotFoundFailureAnalyzerTests.java lines 57–66

	@Test
	void analyzeWhenConfigDataLocationWithOriginNotFoundException() {
		ConfigDataLocation location = ConfigDataLocation.of("test").withOrigin(new TestOrigin("origin"));
		ConfigDataLocationNotFoundException exception = new ConfigDataLocationNotFoundException(location);
		FailureAnalysis result = this.analyzer.analyze(exception);
		assertThat(result).isNotNull();
		assertThat(result.getDescription()).isEqualTo("Config data location 'test' does not exist");
		assertThat(result.getAction())
			.isEqualTo("Check that the value 'test' at origin is correct, or prefix it with 'optional:'");
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does analyzeWhenConfigDataLocationWithOriginNotFoundException() do?
analyzeWhenConfigDataLocationWithOriginNotFoundException() is a function in the spring-boot codebase.
What does analyzeWhenConfigDataLocationWithOriginNotFoundException() call?
analyzeWhenConfigDataLocationWithOriginNotFoundException() calls 3 function(s): TestOrigin, getAction, getDescription.

Analyze Your Own Codebase

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

Try Supermodel Free