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

analyzeWhenMissingParametersExceptionReturnsFailure() — spring-boot Function Reference

Architecture documentation for the analyzeWhenMissingParametersExceptionReturnsFailure() function in MissingParameterNamesFailureAnalyzerTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  eeb99075_93dd_fe68_4c0b_6d329fd2e2e5["analyzeWhenMissingParametersExceptionReturnsFailure()"]
  0a968857_ee4d_2c5f_2ea8_bd6fbad22728["getSpringFrameworkMissingParameterException()"]
  eeb99075_93dd_fe68_4c0b_6d329fd2e2e5 -->|calls| 0a968857_ee4d_2c5f_2ea8_bd6fbad22728
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  eeb99075_93dd_fe68_4c0b_6d329fd2e2e5 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"]
  eeb99075_93dd_fe68_4c0b_6d329fd2e2e5 -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1
  style eeb99075_93dd_fe68_4c0b_6d329fd2e2e5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/MissingParameterNamesFailureAnalyzerTests.java lines 39–48

	@Test
	void analyzeWhenMissingParametersExceptionReturnsFailure() throws Exception {
		MissingParameterNamesFailureAnalyzer analyzer = new MissingParameterNamesFailureAnalyzer();
		FailureAnalysis analysis = analyzer.analyze(getSpringFrameworkMissingParameterException());
		assertThat(analysis).isNotNull();
		assertThat(analysis.getDescription())
			.isEqualTo(String.format("Name for argument of type [java.lang.String] not specified, and parameter name "
					+ "information not available via reflection. Ensure that the compiler uses the '-parameters' flag.:%n"));
		assertThat(analysis.getAction()).isEqualTo(MissingParameterNamesFailureAnalyzer.ACTION);
	}

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free