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

createTestException() — spring-boot Function Reference

Architecture documentation for the createTestException() function in TestException.java from the spring-boot codebase.

Function java GradlePlugin AotProcessing calls 2 called by 2

Entity Profile

Dependency Diagram

graph TD
  fc9c4e0e_8140_0604_ca49_18d7de34b808["createTestException()"]
  8f4e6d55_21ce_0098_2cc0_b01a51aedc1d["run()"]
  8f4e6d55_21ce_0098_2cc0_b01a51aedc1d -->|calls| fc9c4e0e_8140_0604_ca49_18d7de34b808
  ec5d4b61_592c_6883_8b56_af017a7c7a2e["createPrinterWhenStandardAppliesCustomizations()"]
  ec5d4b61_592c_6883_8b56_af017a7c7a2e -->|calls| fc9c4e0e_8140_0604_ca49_18d7de34b808
  10a37b11_9e3b_691b_70eb_455b91970edd["createCause()"]
  fc9c4e0e_8140_0604_ca49_18d7de34b808 -->|calls| 10a37b11_9e3b_691b_70eb_455b91970edd
  04d7a7e1_6c9f_8ec5_dbe1_de9e8db63742["createException()"]
  fc9c4e0e_8140_0604_ca49_18d7de34b808 -->|calls| 04d7a7e1_6c9f_8ec5_dbe1_de9e8db63742
  style fc9c4e0e_8140_0604_ca49_18d7de34b808 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot/src/test/java/org/springframework/boot/logging/TestException.java lines 52–58

	private static Exception createTestException() {
		Throwable root = new RuntimeException("root");
		Throwable cause = createCause(root);
		Exception exception = createException(cause);
		exception.addSuppressed(new RuntimeException("suppressed"));
		return exception;
	}

Domain

Subdomains

Calls

  • createCause()
  • createException()

Frequently Asked Questions

What does createTestException() do?
createTestException() is a function in the spring-boot codebase.
What does createTestException() call?
createTestException() calls 2 function(s): createCause, createException.
What calls createTestException()?
createTestException() is called by 2 function(s): createPrinterWhenStandardAppliesCustomizations, run.

Analyze Your Own Codebase

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

Try Supermodel Free