analyzeForMissingParametersWhenInCauseReturnsFailure() — spring-boot Function Reference
Architecture documentation for the analyzeForMissingParametersWhenInCauseReturnsFailure() function in MissingParameterNamesFailureAnalyzerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 4c7a72bb_6d5d_9047_5d00_3a5b7e1bab45["analyzeForMissingParametersWhenInCauseReturnsFailure()"] 0a968857_ee4d_2c5f_2ea8_bd6fbad22728["getSpringFrameworkMissingParameterException()"] 4c7a72bb_6d5d_9047_5d00_3a5b7e1bab45 -->|calls| 0a968857_ee4d_2c5f_2ea8_bd6fbad22728 ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"] 4c7a72bb_6d5d_9047_5d00_3a5b7e1bab45 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48 1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"] 4c7a72bb_6d5d_9047_5d00_3a5b7e1bab45 -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1 style 4c7a72bb_6d5d_9047_5d00_3a5b7e1bab45 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/MissingParameterNamesFailureAnalyzerTests.java lines 61–71
@Test
void analyzeForMissingParametersWhenInCauseReturnsFailure() throws Exception {
RuntimeException exception = new RuntimeException("Badness", getSpringFrameworkMissingParameterException());
FailureAnalysis analysis = MissingParameterNamesFailureAnalyzer.analyzeForMissingParameters(exception);
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%n"
+ " Resulting Failure: java.lang.RuntimeException: Badness"));
assertThat(analysis.getAction()).isEqualTo(MissingParameterNamesFailureAnalyzer.ACTION);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does analyzeForMissingParametersWhenInCauseReturnsFailure() do?
analyzeForMissingParametersWhenInCauseReturnsFailure() is a function in the spring-boot codebase.
What does analyzeForMissingParametersWhenInCauseReturnsFailure() call?
analyzeForMissingParametersWhenInCauseReturnsFailure() 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