bindExceptionWithSuppressedMissingParametersException() — spring-boot Function Reference
Architecture documentation for the bindExceptionWithSuppressedMissingParametersException() function in BindFailureAnalyzerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD fe9e9174_9eb4_7f4f_2589_009e999fe2c8["bindExceptionWithSuppressedMissingParametersException()"] 32148f72_5a5e_7fbc_bd46_d0263d1b8adf["createFailure()"] fe9e9174_9eb4_7f4f_2589_009e999fe2c8 -->|calls| 32148f72_5a5e_7fbc_bd46_d0263d1b8adf ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"] fe9e9174_9eb4_7f4f_2589_009e999fe2c8 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48 21ae38f0_6b24_f70c_e876_97bb99d768d1["failure()"] fe9e9174_9eb4_7f4f_2589_009e999fe2c8 -->|calls| 21ae38f0_6b24_f70c_e876_97bb99d768d1 1a4e5320_a2e2_8aa5_7d05_1e805db190f1["getAction()"] fe9e9174_9eb4_7f4f_2589_009e999fe2c8 -->|calls| 1a4e5320_a2e2_8aa5_7d05_1e805db190f1 style fe9e9174_9eb4_7f4f_2589_009e999fe2c8 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/BindFailureAnalyzerTests.java lines 108–121
@Test
void bindExceptionWithSuppressedMissingParametersException() {
BeanCreationException failure = createFailure(GenericFailureConfiguration.class, "test.foo.value=alpha");
assertThat(failure).isNotNull();
failure.addSuppressed(new IllegalStateException(
"Missing parameter names. Ensure that the compiler uses the '-parameters' flag"));
FailureAnalysis analysis = new BindFailureAnalyzer().analyze(failure);
assertThat(analysis).isNotNull();
assertThat(analysis.getDescription())
.contains(failure("test.foo.value", "alpha", "\"test.foo.value\" from property source \"test\"",
"failed to convert java.lang.String to int"))
.contains(MissingParameterNamesFailureAnalyzer.POSSIBILITY);
assertThat(analysis.getAction()).contains(MissingParameterNamesFailureAnalyzer.ACTION);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does bindExceptionWithSuppressedMissingParametersException() do?
bindExceptionWithSuppressedMissingParametersException() is a function in the spring-boot codebase.
What does bindExceptionWithSuppressedMissingParametersException() call?
bindExceptionWithSuppressedMissingParametersException() calls 4 function(s): createFailure, failure, getAction, getDescription.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free