类 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
- 所有已实现的接口:
Serializable
Exception thrown when
@ConfigurationProperties
binding
fails.- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb, Stephane Nicoll
- 另请参阅:
-
方法概要
修饰符和类型方法说明Return the configuration properties annotation that triggered the binding.Class
<?> Return the bean type that was being bound.从类继承的方法 org.springframework.beans.factory.BeanCreationException
addRelatedCause, contains, getBeanName, getRelatedCauses, getResourceDescription, printStackTrace, printStackTrace, toString
从类继承的方法 org.springframework.core.NestedRuntimeException
getMostSpecificCause, getRootCause
从类继承的方法 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
-
方法详细资料
-
getBeanType
Return the bean type that was being bound.- 返回:
- the bean type
-
getAnnotation
Return the configuration properties annotation that triggered the binding.- 返回:
- the configuration properties annotation
-