org.springframework.boot.context.properties

Class ConfigurationPropertiesBindException

  • All Implemented Interfaces:
    Serializable


    public class ConfigurationPropertiesBindException
    extends org.springframework.beans.factory.BeanCreationException
    Exception thrown when @ConfigurationProperties binding fails.
    Since:
    2.0.0
    Author:
    Phillip Webb, Stephane Nicoll
    See Also:
    Serialized Form
    • Method Detail

      • 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

Copyright © 2018 Pivotal Software, Inc.. All rights reserved.