public class BeanInstantiationException extends BeanContextException
Constructor and Description |
---|
BeanInstantiationException(BeanResolutionContext resolutionContext,
String message) |
BeanInstantiationException(BeanResolutionContext resolutionContext,
Throwable cause) |
BeanInstantiationException(BeanType<T> beanDefinition,
String message) |
BeanInstantiationException(BeanType<T> beanDefinition,
Throwable cause) |
BeanInstantiationException(String message) |
BeanInstantiationException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Optional<BeanType> |
getRootBeanType() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BeanInstantiationException(String message, Throwable cause)
message
- The messagecause
- The throwablepublic BeanInstantiationException(String message)
message
- The messagepublic BeanInstantiationException(BeanResolutionContext resolutionContext, Throwable cause)
resolutionContext
- The resolution contextcause
- The throwablepublic BeanInstantiationException(BeanResolutionContext resolutionContext, String message)
resolutionContext
- The resolution contextmessage
- The messagepublic BeanInstantiationException(BeanType<T> beanDefinition, Throwable cause)
T
- The bean typebeanDefinition
- The bean definitioncause
- The throwable