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:
Serializable

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

    • getBeanType

      public 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