public class DependencyInjectionException extends BeanCreationException
Modifier and Type | Method and Description |
---|---|
static DependencyInjectionException |
missingProperty(BeanResolutionContext resolutionContext,
ArgumentConversionContext conversionContext,
String property)
Builds an error message for attempted argument conversion on a method.
|
getRootBeanType
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DependencyInjectionException(BeanResolutionContext resolutionContext, Throwable cause)
resolutionContext
- The resolution contextcause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, Argument argument, Throwable cause)
resolutionContext
- The resolution contextargument
- The argumentcause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, String message, Throwable cause)
resolutionContext
- The resolution contextmessage
- The messagecause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, String message)
resolutionContext
- The resolution contextmessage
- The messagepublic DependencyInjectionException(BeanResolutionContext resolutionContext, Argument argument, String message)
resolutionContext
- The resolution contextargument
- The argumentmessage
- The messagepublic DependencyInjectionException(BeanResolutionContext resolutionContext, FieldInjectionPoint fieldInjectionPoint, Throwable cause)
resolutionContext
- The resolution contextfieldInjectionPoint
- The field injection pointcause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, BeanDefinition declaringBean, String fieldName, Throwable cause)
resolutionContext
- The resolution contextdeclaringBean
- The declaring typefieldName
- The field namecause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, FieldInjectionPoint fieldInjectionPoint, String message)
resolutionContext
- The resolution contextfieldInjectionPoint
- The field injection pointmessage
- The messagepublic DependencyInjectionException(BeanResolutionContext resolutionContext, BeanDefinition declaringBean, String fieldName, String message)
resolutionContext
- The resolution contextdeclaringBean
- The declaring beanfieldName
- The field namemessage
- The messagepublic DependencyInjectionException(BeanResolutionContext resolutionContext, FieldInjectionPoint fieldInjectionPoint, String message, Throwable cause)
resolutionContext
- The resolution contextfieldInjectionPoint
- The field injection pointmessage
- The messagecause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, BeanDefinition declaringBean, String fieldName, String message, Throwable cause)
resolutionContext
- The resolution contextdeclaringBean
- The declaring beanfieldName
- The field namemessage
- The messagecause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, MethodInjectionPoint methodInjectionPoint, Argument argument, Throwable cause)
resolutionContext
- The resolution contextmethodInjectionPoint
- The method injection pointargument
- The argumentcause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, BeanDefinition declaringType, String methodName, Argument argument, Throwable cause)
resolutionContext
- The resolution contextdeclaringType
- The declaring typemethodName
- The method nameargument
- The argumentcause
- The throwablepublic DependencyInjectionException(BeanResolutionContext resolutionContext, MethodInjectionPoint methodInjectionPoint, Argument argument, String message)
resolutionContext
- The resolution contextmethodInjectionPoint
- The method injection pointargument
- The argumentmessage
- The messagepublic DependencyInjectionException(BeanResolutionContext resolutionContext, BeanDefinition declaringType, String methodName, Argument argument, String message)
resolutionContext
- The resolution contextdeclaringType
- The declaring typemethodName
- The method nameargument
- The argumentmessage
- The messagepublic DependencyInjectionException(BeanResolutionContext resolutionContext, ArgumentConversionContext argumentConversionContext, String property)
resolutionContext
- The resolution contextargumentConversionContext
- The argument conversion contextproperty
- The property being resolvedpublic DependencyInjectionException(BeanResolutionContext resolutionContext, MethodInjectionPoint methodInjectionPoint, ArgumentConversionContext conversionContext, String property)
resolutionContext
- The resolution contextmethodInjectionPoint
- The method injection pointconversionContext
- The conversion contextproperty
- The property being resolvedpublic DependencyInjectionException(BeanResolutionContext resolutionContext, BeanDefinition declaringBean, String methodName, ArgumentConversionContext conversionContext, String property)
resolutionContext
- The resolution contextdeclaringBean
- The declaring beanmethodName
- The method nameconversionContext
- The conversion contextproperty
- The property being resolvedprotected DependencyInjectionException(BeanResolutionContext resolutionContext, MethodInjectionPoint methodInjectionPoint, Argument argument, String message, boolean circular)
resolutionContext
- The resolution contextmethodInjectionPoint
- The method injection pointargument
- The argumentmessage
- The messagecircular
- Is the path circularprotected DependencyInjectionException(BeanResolutionContext resolutionContext, BeanDefinition declaringType, String methodName, Argument argument, String message, boolean circular)
resolutionContext
- The resolution contextdeclaringType
- The method declaring typemethodName
- The method nameargument
- The argumentmessage
- The messagecircular
- Is the path circularprotected DependencyInjectionException(BeanResolutionContext resolutionContext, FieldInjectionPoint fieldInjectionPoint, String message, boolean circular)
resolutionContext
- The resolution contextfieldInjectionPoint
- The field injection pointmessage
- The messagecircular
- Is the path circularprotected DependencyInjectionException(BeanResolutionContext resolutionContext, BeanDefinition declaringType, String fieldName, String message, boolean circular)
resolutionContext
- The resolution contextdeclaringType
- The field declaringTypefieldName
- The field namemessage
- The messagecircular
- Is the path circularprotected DependencyInjectionException(BeanResolutionContext resolutionContext, Argument argument, String message, boolean circular)
resolutionContext
- The resolution contextargument
- The argumentmessage
- The messagecircular
- Is the path circularpublic static DependencyInjectionException missingProperty(BeanResolutionContext resolutionContext, ArgumentConversionContext conversionContext, String property)
resolutionContext
- The resolution contextconversionContext
- The conversion contextproperty
- The property being resolvedDependencyInjectionException