handleBindError() — spring-boot Function Reference
Architecture documentation for the handleBindError() function in Binder.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 28454942_8aab_1770_0aeb_97bfe8831553["handleBindError()"] 8297d150_846a_4cc4_47ca_e6d5a70497f3["bind()"] 8297d150_846a_4cc4_47ca_e6d5a70497f3 -->|calls| 28454942_8aab_1770_0aeb_97bfe8831553 f47ddb6e_0ebc_aabb_0432_01f474169a55["getConverter()"] 28454942_8aab_1770_0aeb_97bfe8831553 -->|calls| f47ddb6e_0ebc_aabb_0432_01f474169a55 727f7c3e_b925_fb14_e78e_4c2d4a79cefe["getConfigurationProperty()"] 28454942_8aab_1770_0aeb_97bfe8831553 -->|calls| 727f7c3e_b925_fb14_e78e_4c2d4a79cefe 5272f1d6_ffa5_b39b_b129_fa0694337b93["convert()"] 28454942_8aab_1770_0aeb_97bfe8831553 -->|calls| 5272f1d6_ffa5_b39b_b129_fa0694337b93 style 28454942_8aab_1770_0aeb_97bfe8831553 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/Binder.java lines 408–420
private <T> @Nullable T handleBindError(ConfigurationPropertyName name, Bindable<T> target, BindHandler handler,
Context context, Exception error) {
try {
Object result = handler.onFailure(name, target, context, error);
return context.getConverter().convert(result, target);
}
catch (Exception ex) {
if (ex instanceof BindException bindException) {
throw bindException;
}
throw new BindException(name, target, context.getConfigurationProperty(), ex);
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does handleBindError() do?
handleBindError() is a function in the spring-boot codebase.
What does handleBindError() call?
handleBindError() calls 3 function(s): convert, getConfigurationProperty, getConverter.
What calls handleBindError()?
handleBindError() is called by 1 function(s): bind.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free