Home / Type/ ExitCodeExceptionMapper Type — spring-boot Architecture

ExitCodeExceptionMapper Type — spring-boot Architecture

Architecture documentation for the ExitCodeExceptionMapper type/interface in ExitCodeExceptionMapper.java from the spring-boot codebase.

Entity Profile

Source Code

core/spring-boot/src/main/java/org/springframework/boot/ExitCodeExceptionMapper.java lines 26–36

@FunctionalInterface
public interface ExitCodeExceptionMapper {

	/**
	 * Returns the exit code that should be returned from the application.
	 * @param exception the exception causing the application to exit
	 * @return the exit code or {@code 0}.
	 */
	int getExitCode(Throwable exception);

}

Analyze Your Own Codebase

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

Try Supermodel Free