org.springframework.boot.context.properties.source

Class InvalidConfigurationPropertyNameException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • org.springframework.boot.context.properties.source.InvalidConfigurationPropertyNameException
  • All Implemented Interfaces:
    java.io.Serializable


    public class InvalidConfigurationPropertyNameException
    extends java.lang.RuntimeException
    Exception thrown when ConfigurationPropertyName has invalid characters.
    Since:
    2.0.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List<java.lang.Character> getInvalidCharacters() 
      java.lang.CharSequence getName() 
      static void throwIfHasInvalidChars(java.lang.CharSequence name, java.util.List<java.lang.Character> invalidCharacters) 
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InvalidConfigurationPropertyNameException

        public InvalidConfigurationPropertyNameException(java.lang.CharSequence name,
                                                         java.util.List<java.lang.Character> invalidCharacters)
    • Method Detail

      • getInvalidCharacters

        public java.util.List<java.lang.Character> getInvalidCharacters()
      • getName

        public java.lang.CharSequence getName()
      • throwIfHasInvalidChars

        public static void throwIfHasInvalidChars(java.lang.CharSequence name,
                                                  java.util.List<java.lang.Character> invalidCharacters)