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

StackTrace() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  67597706_c252_cead_f617_cf5b855b7034["StackTrace()"]
  46ea6852_35a8_b783_4723_412521e635b5["printStackTrace()"]
  46ea6852_35a8_b783_4723_412521e635b5 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  49053781_33e3_f6be_f521_e18996baee96["cause()"]
  49053781_33e3_f6be_f521_e18996baee96 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  b6feef97_7dc6_c5ee_f490_4c4176ef3221["getWhenHasStackTracePropertiesBindsFromEnvironment()"]
  b6feef97_7dc6_c5ee_f490_4c4176ef3221 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  047000a1_6e20_0dac_e6e0_0f446f0ac6cf["createPrinterWhenEmptyReturnsNull()"]
  047000a1_6e20_0dac_e6e0_0f446f0ac6cf -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  7b4b771f_07c2_bae7_b2ae_e7aa1b4ec0a0["createPrinterWhenNoPrinterAndNotEmptyReturnsStandard()"]
  7b4b771f_07c2_bae7_b2ae_e7aa1b4ec0a0 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  70914f88_d9c4_c5ab_0ac0_b859f66a062f["createPrinterWhenLoggingSystemReturnsNull()"]
  70914f88_d9c4_c5ab_0ac0_b859f66a062f -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  f66fdc2d_2028_18a6_8d41_0a2444540d33["createPrinterWhenLoggingSystemRelaxedReturnsNull()"]
  f66fdc2d_2028_18a6_8d41_0a2444540d33 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  f6fa5d7e_b525_a90f_ca1e_6db47702e6b0["createPrinterWhenStandardReturnsStandardPrinter()"]
  f6fa5d7e_b525_a90f_ca1e_6db47702e6b0 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  4eebaa0e_716e_ccdb_35a4_cda6ac94127d["createPrinterWhenStandardRelaxedReturnsStandardPrinter()"]
  4eebaa0e_716e_ccdb_35a4_cda6ac94127d -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  ec5d4b61_592c_6883_8b56_af017a7c7a2e["createPrinterWhenStandardAppliesCustomizations()"]
  ec5d4b61_592c_6883_8b56_af017a7c7a2e -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  512f48a2_9834_9937_53b3_6915521c65e1["createPrinterWhenStandardWithHashesPrintsHash()"]
  512f48a2_9834_9937_53b3_6915521c65e1 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  63d95fb2_61b3_a1a3_5127_e959ed5c9475["createPrinterWhenClassNameCreatesPrinter()"]
  63d95fb2_61b3_a1a3_5127_e959ed5c9475 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  3e5f169d_abd8_4143_0c25_16cc87fe7805["createPrinterWhenClassNameInjectsConfiguredPrinter()"]
  3e5f169d_abd8_4143_0c25_16cc87fe7805 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  90deac1b_dc53_4e46_a163_5cb2f480d7d8["hasCustomPrinterShouldReturnFalseWhenPrinterIsEmpty()"]
  90deac1b_dc53_4e46_a163_5cb2f480d7d8 -->|calls| 67597706_c252_cead_f617_cf5b855b7034
  style 67597706_c252_cead_f617_cf5b855b7034 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/logging/StandardStackTracePrinter.java lines 413–416

		private StackTrace(Throwable throwable) {
			this.throwable = throwable;
			this.frames = (throwable != null) ? throwable.getStackTrace() : null;
		}

Domain

Subdomains

Called By

  • cause()
  • createPrinterWhenClassNameCreatesPrinter()
  • createPrinterWhenClassNameInjectsConfiguredPrinter()
  • createPrinterWhenEmptyReturnsNull()
  • createPrinterWhenLoggingSystemRelaxedReturnsNull()
  • createPrinterWhenLoggingSystemReturnsNull()
  • createPrinterWhenNoPrinterAndNotEmptyReturnsStandard()
  • createPrinterWhenStandardAppliesCustomizations()
  • createPrinterWhenStandardRelaxedReturnsStandardPrinter()
  • createPrinterWhenStandardReturnsStandardPrinter()
  • createPrinterWhenStandardWithHashesPrintsHash()
  • getWhenHasStackTracePropertiesBindsFromEnvironment()
  • hasCustomPrinterShouldReturnFalseWhenPrinterHasLoggingSystem()
  • hasCustomPrinterShouldReturnFalseWhenPrinterHasStandard()
  • hasCustomPrinterShouldReturnFalseWhenPrinterIsEmpty()
  • hasCustomPrinterShouldReturnTrueWhenPrinterHasCustom()
  • printStackTrace()

Frequently Asked Questions

What does StackTrace() do?
StackTrace() is a function in the spring-boot codebase.
What calls StackTrace()?
StackTrace() is called by 17 function(s): cause, createPrinterWhenClassNameCreatesPrinter, createPrinterWhenClassNameInjectsConfiguredPrinter, createPrinterWhenEmptyReturnsNull, createPrinterWhenLoggingSystemRelaxedReturnsNull, createPrinterWhenLoggingSystemReturnsNull, createPrinterWhenNoPrinterAndNotEmptyReturnsStandard, createPrinterWhenStandardAppliesCustomizations, and 9 more.

Analyze Your Own Codebase

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

Try Supermodel Free