Home / Class/ InvalidConfigurationPropertyNameException Class — spring-boot Architecture

InvalidConfigurationPropertyNameException Class — spring-boot Architecture

Architecture documentation for the InvalidConfigurationPropertyNameException class in InvalidConfigurationPropertyNameException.java from the spring-boot codebase.

Entity Profile

Relationship Graph

Source Code

core/spring-boot/src/main/java/org/springframework/boot/context/properties/source/InvalidConfigurationPropertyNameException.java lines 27–53

public class InvalidConfigurationPropertyNameException extends RuntimeException {

	private final CharSequence name;

	private final List<Character> invalidCharacters;

	public InvalidConfigurationPropertyNameException(CharSequence name, List<Character> invalidCharacters) {
		super("Configuration property name '" + name + "' is not valid");
		this.name = name;
		this.invalidCharacters = invalidCharacters;
	}

	public List<Character> getInvalidCharacters() {
		return this.invalidCharacters;
	}

	public CharSequence getName() {
		return this.name;
	}

	public static void throwIfHasInvalidChars(CharSequence name, List<Character> invalidCharacters) {
		if (!invalidCharacters.isEmpty()) {
			throw new InvalidConfigurationPropertyNameException(name, invalidCharacters);
		}
	}

}

Domain

Analyze Your Own Codebase

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

Try Supermodel Free