public abstract class BeanCreationException extends BeanContextException
Modifier | Constructor and Description |
---|---|
protected |
BeanCreationException(BeanResolutionContext resolutionContext,
java.lang.String message) |
protected |
BeanCreationException(BeanResolutionContext resolutionContext,
java.lang.String message,
java.lang.Throwable cause) |
protected |
BeanCreationException(BeanType<T> beanDefinition,
java.lang.String message) |
protected |
BeanCreationException(BeanType<T> beanDefinition,
java.lang.String message,
java.lang.Throwable cause) |
protected |
BeanCreationException(java.lang.String message) |
protected |
BeanCreationException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<BeanType> |
getRootBeanType() |
protected BeanCreationException(java.lang.String message, java.lang.Throwable cause)
message
- The messagecause
- The throwableprotected BeanCreationException(java.lang.String message)
message
- The messageprotected BeanCreationException(BeanResolutionContext resolutionContext, java.lang.String message)
resolutionContext
- The resolution contextmessage
- The messageprotected BeanCreationException(BeanResolutionContext resolutionContext, java.lang.String message, java.lang.Throwable cause)
resolutionContext
- The resolution contextmessage
- The messagecause
- The throwableprotected BeanCreationException(BeanType<T> beanDefinition, java.lang.String message, java.lang.Throwable cause)
T
- The bean typebeanDefinition
- The bean definitionmessage
- The messagecause
- The throwableprotected BeanCreationException(BeanType<T> beanDefinition, java.lang.String message)
T
- The bean typebeanDefinition
- The bean definitionmessage
- The messagepublic java.util.Optional<BeanType> getRootBeanType()