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

getExitCodeFromException() — spring-boot Function Reference

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

Function java GradlePlugin DslExtensions calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  b5526a13_2583_756b_3feb_7dd28d4609f3["getExitCodeFromException()"]
  a1057eb9_8bc1_4af2_9e06_f5426baf378a["handleExitCode()"]
  a1057eb9_8bc1_4af2_9e06_f5426baf378a -->|calls| b5526a13_2583_756b_3feb_7dd28d4609f3
  d6dae35d_7010_8739_0aaa_dfe7fc9ca287["getExitCodeFromMappedException()"]
  b5526a13_2583_756b_3feb_7dd28d4609f3 -->|calls| d6dae35d_7010_8739_0aaa_dfe7fc9ca287
  19885ba0_598e_2296_b9bc_d5c8268f0351["getExitCodeFromExitCodeGeneratorException()"]
  b5526a13_2583_756b_3feb_7dd28d4609f3 -->|calls| 19885ba0_598e_2296_b9bc_d5c8268f0351
  style b5526a13_2583_756b_3feb_7dd28d4609f3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java lines 894–900

	private int getExitCodeFromException(@Nullable ConfigurableApplicationContext context, Throwable exception) {
		int exitCode = getExitCodeFromMappedException(context, exception);
		if (exitCode == 0) {
			exitCode = getExitCodeFromExitCodeGeneratorException(exception);
		}
		return exitCode;
	}

Domain

Subdomains

Calls

  • getExitCodeFromExitCodeGeneratorException()
  • getExitCodeFromMappedException()

Called By

Frequently Asked Questions

What does getExitCodeFromException() do?
getExitCodeFromException() is a function in the spring-boot codebase.
What does getExitCodeFromException() call?
getExitCodeFromException() calls 2 function(s): getExitCodeFromExitCodeGeneratorException, getExitCodeFromMappedException.
What calls getExitCodeFromException()?
getExitCodeFromException() is called by 1 function(s): handleExitCode.

Analyze Your Own Codebase

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

Try Supermodel Free