Class BeanDefinitionValidationException
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.support.BeanDefinitionValidationException
- All Implemented Interfaces:
Serializable
Exception thrown when the validation of a bean definition failed.
- Since:
- 21.11.2003
- Author:
- Juergen Hoeller
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate a new BeanDefinitionValidationException with the specified message.BeanDefinitionValidationException
(String msg, Throwable cause) Create a new BeanDefinitionValidationException with the specified message and root cause. -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BeanDefinitionValidationException
Create a new BeanDefinitionValidationException with the specified message.- Parameters:
msg
- the detail message
-
BeanDefinitionValidationException
Create a new BeanDefinitionValidationException with the specified message and root cause.- Parameters:
msg
- the detail messagecause
- the root cause
-