Package io.micronaut.context.exceptions
Class CircularDependencyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.context.exceptions.BeanContextException
io.micronaut.context.exceptions.BeanCreationException
io.micronaut.context.exceptions.DependencyInjectionException
io.micronaut.context.exceptions.CircularDependencyException
- All Implemented Interfaces:
Serializable
Represents a circular dependency failure.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Constructor Summary
ConstructorDescriptionCircularDependencyException
(BeanResolutionContext resolutionContext, Argument argument, String message) CircularDependencyException
(BeanResolutionContext resolutionContext, BeanDefinition declaringType, String methodName, Argument argument, String message) CircularDependencyException
(BeanResolutionContext resolutionContext, BeanDefinition declaringType, String fieldName, String message) CircularDependencyException
(BeanResolutionContext resolutionContext, FieldInjectionPoint fieldInjectionPoint, String message) CircularDependencyException
(BeanResolutionContext resolutionContext, MethodInjectionPoint methodInjectionPoint, Argument argument, String message) -
Method Summary
Methods inherited from class io.micronaut.context.exceptions.DependencyInjectionException
missingProperty
Methods inherited from class io.micronaut.context.exceptions.BeanCreationException
getRootBeanType
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CircularDependencyException
public CircularDependencyException(BeanResolutionContext resolutionContext, Argument argument, String message) - Parameters:
resolutionContext
- The resolution contextargument
- The argumentmessage
- The message
-
CircularDependencyException
public CircularDependencyException(BeanResolutionContext resolutionContext, FieldInjectionPoint fieldInjectionPoint, String message) - Parameters:
resolutionContext
- The resolution contextfieldInjectionPoint
- The field injection pointmessage
- The message
-
CircularDependencyException
public CircularDependencyException(BeanResolutionContext resolutionContext, BeanDefinition declaringType, String fieldName, String message) - Parameters:
resolutionContext
- The resolution contextdeclaringType
- The declaring typefieldName
- The field namemessage
- The message
-
CircularDependencyException
public CircularDependencyException(BeanResolutionContext resolutionContext, MethodInjectionPoint methodInjectionPoint, Argument argument, String message) - Parameters:
resolutionContext
- The resolution contextmethodInjectionPoint
- The method injection pointargument
- The argumentmessage
- The message
-
CircularDependencyException
public CircularDependencyException(BeanResolutionContext resolutionContext, BeanDefinition declaringType, String methodName, Argument argument, String message) - Parameters:
resolutionContext
- The resolution contextdeclaringType
- The declaring typemethodName
- The method nameargument
- The argumentmessage
- The message
-