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

buildMessage() — spring-boot Function Reference

Architecture documentation for the buildMessage() function in DockerConnectionException.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  2f5d0ab0_cd0a_fcc9_fec1_7dc642f31136["buildMessage()"]
  145cc4f3_4e10_fafa_4dde_7e45ffc2de0b["DockerConnectionException()"]
  145cc4f3_4e10_fafa_4dde_7e45ffc2de0b -->|calls| 2f5d0ab0_cd0a_fcc9_fec1_7dc642f31136
  e4469814_2b30_c38a_a515_116711e9a6e9["getCauseMessage()"]
  2f5d0ab0_cd0a_fcc9_fec1_7dc642f31136 -->|calls| e4469814_2b30_c38a_a515_116711e9a6e9
  style 2f5d0ab0_cd0a_fcc9_fec1_7dc642f31136 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/transport/DockerConnectionException.java lines 38–48

	private static String buildMessage(String host, Exception cause) {
		Assert.notNull(host, "'host' must not be null");
		Assert.notNull(cause, "'cause' must not be null");
		StringBuilder message = new StringBuilder("Connection to the Docker daemon at '" + host + "' failed");
		String causeMessage = getCauseMessage(cause);
		if (StringUtils.hasText(causeMessage)) {
			message.append(" with error \"").append(causeMessage).append("\"");
		}
		message.append("; ensure the Docker daemon is running and accessible");
		return message.toString();
	}

Subdomains

Calls

  • getCauseMessage()

Called By

  • DockerConnectionException()

Frequently Asked Questions

What does buildMessage() do?
buildMessage() is a function in the spring-boot codebase.
What does buildMessage() call?
buildMessage() calls 1 function(s): getCauseMessage.
What calls buildMessage()?
buildMessage() is called by 1 function(s): DockerConnectionException.

Analyze Your Own Codebase

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

Try Supermodel Free