Class InvalidConfigurationPropertyNameException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.boot.context.properties.source.InvalidConfigurationPropertyNameException
- All Implemented Interfaces:
Serializable
Exception thrown when
ConfigurationPropertyName
has invalid characters.- Since:
- 2.0.0
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidConfigurationPropertyNameException
(CharSequence name, List<Character> invalidCharacters) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
static void
throwIfHasInvalidChars
(CharSequence name, List<Character> invalidCharacters) Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidConfigurationPropertyNameException
public InvalidConfigurationPropertyNameException(CharSequence name, List<Character> invalidCharacters)
-
-
Method Details
-
getInvalidCharacters
-
getName
-
throwIfHasInvalidChars
-