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