org.springframework.boot.context.properties

Class ConfigurationPropertiesBindException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • org.springframework.core.NestedRuntimeException
            • org.springframework.beans.BeansException
              • org.springframework.beans.FatalBeanException
                • org.springframework.beans.factory.BeanCreationException
                  • org.springframework.boot.context.properties.ConfigurationPropertiesBindException
  • All Implemented Interfaces:
    java.io.Serializable


    public class ConfigurationPropertiesBindException
    extends org.springframework.beans.factory.BeanCreationException
    Exception thrown when @ConfigurationProperties binding fails.
    Since:
    2.0.0
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      ConfigurationProperties getAnnotation()
      Return the configuration properties annotation that triggered the binding.
      java.lang.Class<?> getBeanType()
      Return the bean type that was being bound.
      • Methods inherited from class org.springframework.beans.factory.BeanCreationException

        addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toString
      • Methods inherited from class org.springframework.core.NestedRuntimeException

        getMessage, getMostSpecificCause, getRootCause
      • Methods inherited from class java.lang.Throwable

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

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

      • getBeanType

        public java.lang.Class<?> getBeanType()
        Return the bean type that was being bound.
        Returns:
        the bean type
      • getAnnotation

        public ConfigurationProperties getAnnotation()
        Return the configuration properties annotation that triggered the binding.
        Returns:
        the configuration properties annotation