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

cause() — spring-boot Function Reference

Architecture documentation for the cause() function in StandardStackTracePrinter.java from the spring-boot codebase.

Function java GradlePlugin RunTasks calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  49053781_33e3_f6be_f521_e18996baee96["cause()"]
  71298ea1_aca8_3c91_d626_ab341c3a02f4["printFullStackTrace()"]
  71298ea1_aca8_3c91_d626_ab341c3a02f4 -->|calls| 49053781_33e3_f6be_f521_e18996baee96
  b38f02ce_76a8_9894_76e1_8a5c4cb23cd8["hash()"]
  b38f02ce_76a8_9894_76e1_8a5c4cb23cd8 -->|calls| 49053781_33e3_f6be_f521_e18996baee96
  67597706_c252_cead_f617_cf5b855b7034["StackTrace()"]
  49053781_33e3_f6be_f521_e18996baee96 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  style 49053781_33e3_f6be_f521_e18996baee96 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java lines 448–454

		@Nullable StackTrace cause() {
			if (this.cause == null && this.throwable != null) {
				Throwable cause = this.throwable.getCause();
				this.cause = (cause != null) ? new StackTrace(cause) : null;
			}
			return this.cause;
		}

Domain

Subdomains

Calls

Frequently Asked Questions

What does cause() do?
cause() is a function in the spring-boot codebase.
What does cause() call?
cause() calls 1 function(s): StackTrace.
What calls cause()?
cause() is called by 2 function(s): hash, printFullStackTrace.

Analyze Your Own Codebase

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

Try Supermodel Free