throwIfPropertyFound() — spring-boot Function Reference
Architecture documentation for the throwIfPropertyFound() function in InactiveConfigDataAccessException.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 7d22ca43_49ba_992b_8bf9_947e01a8e493["throwIfPropertyFound()"] fe541685_a515_dd20_45de_0fa2d197e514["getPropertySource()"] 7d22ca43_49ba_992b_8bf9_947e01a8e493 -->|calls| fe541685_a515_dd20_45de_0fa2d197e514 7937beec_9975_5b51_7eb6_83d9df4d24c5["InactiveConfigDataAccessException()"] 7d22ca43_49ba_992b_8bf9_947e01a8e493 -->|calls| 7937beec_9975_5b51_7eb6_83d9df4d24c5 7253fe09_3ce2_8414_66dc_2db0c3b73617["getOrigin()"] 7d22ca43_49ba_992b_8bf9_947e01a8e493 -->|calls| 7253fe09_3ce2_8414_66dc_2db0c3b73617 85f0a081_97f6_451e_57ce_91dcf2b87d1f["toString()"] 7d22ca43_49ba_992b_8bf9_947e01a8e493 -->|calls| 85f0a081_97f6_451e_57ce_91dcf2b87d1f style 7d22ca43_49ba_992b_8bf9_947e01a8e493 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/main/java/org/springframework/boot/context/config/InactiveConfigDataAccessException.java lines 122–132
static void throwIfPropertyFound(ConfigDataEnvironmentContributor contributor, ConfigurationPropertyName name) {
ConfigurationPropertySource source = contributor.getConfigurationPropertySource();
ConfigurationProperty property = (source != null) ? source.getConfigurationProperty(name) : null;
if (property != null) {
PropertySource<?> propertySource = contributor.getPropertySource();
ConfigDataResource location = contributor.getResource();
Assert.state(propertySource != null, "'propertySource' must not be null");
throw new InactiveConfigDataAccessException(propertySource, location, name.toString(),
property.getOrigin());
}
}
Domain
Subdomains
Calls
- InactiveConfigDataAccessException()
- getOrigin()
- getPropertySource()
- toString()
Source
Frequently Asked Questions
What does throwIfPropertyFound() do?
throwIfPropertyFound() is a function in the spring-boot codebase.
What does throwIfPropertyFound() call?
throwIfPropertyFound() calls 4 function(s): InactiveConfigDataAccessException, getOrigin, getPropertySource, toString.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free