createFailure() — spring-boot Function Reference
Architecture documentation for the createFailure() function in BindFailureAnalyzerTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 32148f72_5a5e_7fbc_bd46_d0263d1b8adf["createFailure()"] fe9e9174_9eb4_7f4f_2589_009e999fe2c8["bindExceptionWithSuppressedMissingParametersException()"] fe9e9174_9eb4_7f4f_2589_009e999fe2c8 -->|calls| 32148f72_5a5e_7fbc_bd46_d0263d1b8adf 5ea58bee_36a0_0a67_3be2_94966b3d4680["performAnalysis()"] 5ea58bee_36a0_0a67_3be2_94966b3d4680 -->|calls| 32148f72_5a5e_7fbc_bd46_d0263d1b8adf f4e1360e_7b46_0628_e04c_9ade5b5711d5["addEnvironment()"] 32148f72_5a5e_7fbc_bd46_d0263d1b8adf -->|calls| f4e1360e_7b46_0628_e04c_9ade5b5711d5 style 32148f72_5a5e_7fbc_bd46_d0263d1b8adf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/BindFailureAnalyzerTests.java lines 134–146
private @Nullable BeanCreationException createFailure(Class<?> configuration, String... environment) {
try {
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext();
addEnvironment(context, environment);
context.register(configuration);
context.refresh();
context.close();
return null;
}
catch (BeanCreationException ex) {
return ex;
}
}
Domain
Subdomains
Calls
- addEnvironment()
Source
Frequently Asked Questions
What does createFailure() do?
createFailure() is a function in the spring-boot codebase.
What does createFailure() call?
createFailure() calls 1 function(s): addEnvironment.
What calls createFailure()?
createFailure() is called by 2 function(s): bindExceptionWithSuppressedMissingParametersException, performAnalysis.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free