IgnoreTopLevelConverterNotFoundBindHandler Class — spring-boot Architecture
Architecture documentation for the IgnoreTopLevelConverterNotFoundBindHandler class in IgnoreTopLevelConverterNotFoundBindHandler.java from the spring-boot codebase.
Entity Profile
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/handler/IgnoreTopLevelConverterNotFoundBindHandler.java lines 35–61
public class IgnoreTopLevelConverterNotFoundBindHandler extends AbstractBindHandler {
/**
* Create a new {@link IgnoreTopLevelConverterNotFoundBindHandler} instance.
*/
public IgnoreTopLevelConverterNotFoundBindHandler() {
}
/**
* Create a new {@link IgnoreTopLevelConverterNotFoundBindHandler} instance with a
* specific parent.
* @param parent the parent handler
*/
public IgnoreTopLevelConverterNotFoundBindHandler(BindHandler parent) {
super(parent);
}
@Override
public @Nullable Object onFailure(ConfigurationPropertyName name, Bindable<?> target, BindContext context,
Exception error) throws Exception {
if (context.getDepth() == 0 && error instanceof ConverterNotFoundException) {
return null;
}
throw error;
}
}
Domain
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free