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

getSpringFrameworkMissingParameterException() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  0a968857_ee4d_2c5f_2ea8_bd6fbad22728["getSpringFrameworkMissingParameterException()"]
  eeb99075_93dd_fe68_4c0b_6d329fd2e2e5["analyzeWhenMissingParametersExceptionReturnsFailure()"]
  eeb99075_93dd_fe68_4c0b_6d329fd2e2e5 -->|calls| 0a968857_ee4d_2c5f_2ea8_bd6fbad22728
  adc04681_0d62_dde6_c621_e901af6eb60c["analyzeForMissingParametersWhenMissingParametersExceptionReturnsFailure()"]
  adc04681_0d62_dde6_c621_e901af6eb60c -->|calls| 0a968857_ee4d_2c5f_2ea8_bd6fbad22728
  4c7a72bb_6d5d_9047_5d00_3a5b7e1bab45["analyzeForMissingParametersWhenInCauseReturnsFailure()"]
  4c7a72bb_6d5d_9047_5d00_3a5b7e1bab45 -->|calls| 0a968857_ee4d_2c5f_2ea8_bd6fbad22728
  38b3f8b1_1b70_5b40_c522_be2fbe0fe87a["analyzeForMissingParametersWhenInSuppressedReturnsFailure()"]
  38b3f8b1_1b70_5b40_c522_be2fbe0fe87a -->|calls| 0a968857_ee4d_2c5f_2ea8_bd6fbad22728
  style 0a968857_ee4d_2c5f_2ea8_bd6fbad22728 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

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

	private RuntimeException getSpringFrameworkMissingParameterException() throws Exception {
		MockResolver resolver = new MockResolver();
		Method method = getClass().getDeclaredMethod("example", String.class);
		MethodParameter parameter = new MethodParameter(method, 0);
		parameter.initParameterNameDiscovery(null);
		try {
			resolver.resolveArgument(parameter, null, mock(NativeWebRequest.class), null);
		}
		catch (RuntimeException ex) {
			return ex;
		}
		throw new AssertionError("Did not throw");
	}

Domain

Subdomains

Frequently Asked Questions

What does getSpringFrameworkMissingParameterException() do?
getSpringFrameworkMissingParameterException() is a function in the spring-boot codebase.
What calls getSpringFrameworkMissingParameterException()?
getSpringFrameworkMissingParameterException() is called by 4 function(s): analyzeForMissingParametersWhenInCauseReturnsFailure, analyzeForMissingParametersWhenInSuppressedReturnsFailure, analyzeForMissingParametersWhenMissingParametersExceptionReturnsFailure, analyzeWhenMissingParametersExceptionReturnsFailure.

Analyze Your Own Codebase

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

Try Supermodel Free