Home / Function/ getDescription() — spring-boot Function Reference

getDescription() — spring-boot Function Reference

Architecture documentation for the getDescription() function in AbstractInjectionFailureAnalyzer.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  b68263a7_3964_4bc0_361a_b96286d7b4f0["getDescription()"]
  ebc7cdd4_21bc_3491_686c_090da262ca48["getDescription()"]
  b68263a7_3964_4bc0_361a_b96286d7b4f0 -->|calls| ebc7cdd4_21bc_3491_686c_090da262ca48
  09ede212_4cda_9db1_d07d_5831344d2118["findMostNestedCause()"]
  b68263a7_3964_4bc0_361a_b96286d7b4f0 -->|calls| 09ede212_4cda_9db1_d07d_5831344d2118
  style b68263a7_3964_4bc0_361a_b96286d7b4f0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/diagnostics/analyzer/AbstractInjectionFailureAnalyzer.java lines 48–60

	private @Nullable String getDescription(Throwable rootFailure) {
		UnsatisfiedDependencyException unsatisfiedDependency = findMostNestedCause(rootFailure,
				UnsatisfiedDependencyException.class);
		if (unsatisfiedDependency != null) {
			return getDescription(unsatisfiedDependency);
		}
		BeanInstantiationException beanInstantiationException = findMostNestedCause(rootFailure,
				BeanInstantiationException.class);
		if (beanInstantiationException != null) {
			return getDescription(beanInstantiationException);
		}
		return null;
	}

Domain

Subdomains

Calls

Frequently Asked Questions

What does getDescription() do?
getDescription() is a function in the spring-boot codebase.
What does getDescription() call?
getDescription() calls 2 function(s): findMostNestedCause, getDescription.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free