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

failed() — spring-boot Function Reference

Architecture documentation for the failed() function in SpringApplicationRunListeners.java from the spring-boot codebase.

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  2d25bf82_516b_478e_db24_f5006c85861c["failed()"]
  6facfbc6_b487_d554_5c65_c102c80a6c9d["callFailedListener()"]
  6facfbc6_b487_d554_5c65_c102c80a6c9d -->|calls| 2d25bf82_516b_478e_db24_f5006c85861c
  91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff["doWithListeners()"]
  2d25bf82_516b_478e_db24_f5006c85861c -->|calls| 91ec1b3d_9995_9cb3_8b5c_433bf4aa81ff
  6facfbc6_b487_d554_5c65_c102c80a6c9d["callFailedListener()"]
  2d25bf82_516b_478e_db24_f5006c85861c -->|calls| 6facfbc6_b487_d554_5c65_c102c80a6c9d
  style 2d25bf82_516b_478e_db24_f5006c85861c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplicationRunListeners.java lines 85–94

	void failed(@Nullable ConfigurableApplicationContext context, Throwable exception) {
		doWithListeners("spring.boot.application.failed",
				(listener) -> callFailedListener(listener, context, exception), (step) -> {
					step.tag("exception", exception.getClass().toString());
					String message = exception.getMessage();
					if (message != null) {
						step.tag("message", message);
					}
				});
	}

Domain

Subdomains

Calls

Called By

  • callFailedListener()

Frequently Asked Questions

What does failed() do?
failed() is a function in the spring-boot codebase.
What does failed() call?
failed() calls 2 function(s): callFailedListener, doWithListeners.
What calls failed()?
failed() is called by 1 function(s): callFailedListener.

Analyze Your Own Codebase

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

Try Supermodel Free