Class DependencyInjectionException

    • Constructor Detail

      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            io.micronaut.core.type.Argument argument,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        argument - The argument
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            java.lang.String message,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        message - The message
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            java.lang.String message)
        Parameters:
        resolutionContext - The resolution context
        message - The message
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            io.micronaut.core.type.Argument argument,
                                            java.lang.String message)
        Parameters:
        resolutionContext - The resolution context
        argument - The argument
        message - The message
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            FieldInjectionPoint fieldInjectionPoint,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        fieldInjectionPoint - The field injection point
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            BeanDefinition declaringBean,
                                            java.lang.String fieldName,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        declaringBean - The declaring type
        fieldName - The field name
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            FieldInjectionPoint fieldInjectionPoint,
                                            java.lang.String message)
        Parameters:
        resolutionContext - The resolution context
        fieldInjectionPoint - The field injection point
        message - The message
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            BeanDefinition declaringBean,
                                            java.lang.String fieldName,
                                            java.lang.String message)
        Parameters:
        resolutionContext - The resolution context
        declaringBean - The declaring bean
        fieldName - The field name
        message - The message
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            FieldInjectionPoint fieldInjectionPoint,
                                            java.lang.String message,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        fieldInjectionPoint - The field injection point
        message - The message
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            BeanDefinition declaringBean,
                                            java.lang.String fieldName,
                                            java.lang.String message,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        declaringBean - The declaring bean
        fieldName - The field name
        message - The message
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            MethodInjectionPoint methodInjectionPoint,
                                            io.micronaut.core.type.Argument argument,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        methodInjectionPoint - The method injection point
        argument - The argument
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            BeanDefinition declaringType,
                                            java.lang.String methodName,
                                            io.micronaut.core.type.Argument argument,
                                            java.lang.Throwable cause)
        Parameters:
        resolutionContext - The resolution context
        declaringType - The declaring type
        methodName - The method name
        argument - The argument
        cause - The throwable
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            MethodInjectionPoint methodInjectionPoint,
                                            io.micronaut.core.type.Argument argument,
                                            java.lang.String message)
        Parameters:
        resolutionContext - The resolution context
        methodInjectionPoint - The method injection point
        argument - The argument
        message - The message
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            BeanDefinition declaringType,
                                            java.lang.String methodName,
                                            io.micronaut.core.type.Argument argument,
                                            java.lang.String message)
        Parameters:
        resolutionContext - The resolution context
        declaringType - The declaring type
        methodName - The method name
        argument - The argument
        message - The message
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            io.micronaut.core.convert.ArgumentConversionContext argumentConversionContext,
                                            java.lang.String property)
        Builds an error message for attempted argument conversion on a argument.
        Parameters:
        resolutionContext - The resolution context
        argumentConversionContext - The argument conversion context
        property - The property being resolved
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            MethodInjectionPoint methodInjectionPoint,
                                            io.micronaut.core.convert.ArgumentConversionContext conversionContext,
                                            java.lang.String property)
        Builds an error message for attempted argument conversion on a method.
        Parameters:
        resolutionContext - The resolution context
        methodInjectionPoint - The method injection point
        conversionContext - The conversion context
        property - The property being resolved
      • DependencyInjectionException

        public DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                            BeanDefinition declaringBean,
                                            java.lang.String methodName,
                                            io.micronaut.core.convert.ArgumentConversionContext conversionContext,
                                            java.lang.String property)
        Builds an error message for attempted argument conversion on a method.
        Parameters:
        resolutionContext - The resolution context
        declaringBean - The declaring bean
        methodName - The method name
        conversionContext - The conversion context
        property - The property being resolved
      • DependencyInjectionException

        protected DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                               MethodInjectionPoint methodInjectionPoint,
                                               io.micronaut.core.type.Argument argument,
                                               java.lang.String message,
                                               boolean circular)
        Parameters:
        resolutionContext - The resolution context
        methodInjectionPoint - The method injection point
        argument - The argument
        message - The message
        circular - Is the path circular
      • DependencyInjectionException

        protected DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                               BeanDefinition declaringType,
                                               java.lang.String methodName,
                                               io.micronaut.core.type.Argument argument,
                                               java.lang.String message,
                                               boolean circular)
        Parameters:
        resolutionContext - The resolution context
        declaringType - The method declaring type
        methodName - The method name
        argument - The argument
        message - The message
        circular - Is the path circular
      • DependencyInjectionException

        protected DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                               FieldInjectionPoint fieldInjectionPoint,
                                               java.lang.String message,
                                               boolean circular)
        Parameters:
        resolutionContext - The resolution context
        fieldInjectionPoint - The field injection point
        message - The message
        circular - Is the path circular
      • DependencyInjectionException

        protected DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                               BeanDefinition declaringType,
                                               java.lang.String fieldName,
                                               java.lang.String message,
                                               boolean circular)
        Parameters:
        resolutionContext - The resolution context
        declaringType - The field declaringType
        fieldName - The field name
        message - The message
        circular - Is the path circular
      • DependencyInjectionException

        protected DependencyInjectionException​(BeanResolutionContext resolutionContext,
                                               io.micronaut.core.type.Argument argument,
                                               java.lang.String message,
                                               boolean circular)
        Parameters:
        resolutionContext - The resolution context
        argument - The argument
        message - The message
        circular - Is the path circular
    • Method Detail

      • missingProperty

        public static DependencyInjectionException missingProperty​(BeanResolutionContext resolutionContext,
                                                                   io.micronaut.core.convert.ArgumentConversionContext conversionContext,
                                                                   java.lang.String property)
        Builds an error message for attempted argument conversion on a method.
        Parameters:
        resolutionContext - The resolution context
        conversionContext - The conversion context
        property - The property being resolved
        Returns:
        new instance of DependencyInjectionException