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

getExceptionReporters() — spring-boot Function Reference

Architecture documentation for the getExceptionReporters() function in SpringApplication.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  f35cb859_7c45_aecd_4de9_9a93ed2da12f["getExceptionReporters()"]
  05022a74_e101_acfd_dd3f_ee1812535914["handleRunFailure()"]
  05022a74_e101_acfd_dd3f_ee1812535914 -->|calls| f35cb859_7c45_aecd_4de9_9a93ed2da12f
  19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78["of()"]
  f35cb859_7c45_aecd_4de9_9a93ed2da12f -->|calls| 19a274bb_d9c7_a72c_7ab7_6a36d8c8fa78
  cd9c8607_3f04_b36a_a46e_cbbbb3b5ed2a["getSpringFactoriesInstances()"]
  f35cb859_7c45_aecd_4de9_9a93ed2da12f -->|calls| cd9c8607_3f04_b36a_a46e_cbbbb3b5ed2a
  style f35cb859_7c45_aecd_4de9_9a93ed2da12f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 830–840

	private Collection<SpringBootExceptionReporter> getExceptionReporters(
			@Nullable ConfigurableApplicationContext context) {
		try {
			ArgumentResolver argumentResolver = (context != null)
					? ArgumentResolver.of(ConfigurableApplicationContext.class, context) : ArgumentResolver.none();
			return getSpringFactoriesInstances(SpringBootExceptionReporter.class, argumentResolver);
		}
		catch (Throwable ex) {
			return Collections.emptyList();
		}
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does getExceptionReporters() do?
getExceptionReporters() is a function in the spring-boot codebase.
What does getExceptionReporters() call?
getExceptionReporters() calls 2 function(s): getSpringFactoriesInstances, of.
What calls getExceptionReporters()?
getExceptionReporters() is called by 1 function(s): handleRunFailure.

Analyze Your Own Codebase

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

Try Supermodel Free