Class BeanInstantiationException
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.BeanInstantiationException
- All Implemented Interfaces:
Serializable
Thrown when no such beans exists.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionBeanInstantiationException(BeanResolutionContext resolutionContext, @Nullable String message) BeanInstantiationException(BeanResolutionContext resolutionContext, Throwable cause) <T>BeanInstantiationException(BeanType<T> beanDefinition, String message) <T>BeanInstantiationException(BeanType<T> beanDefinition, Throwable cause) BeanInstantiationException(String message) BeanInstantiationException(String message, Throwable cause) -
Method Summary
Methods inherited from class BeanCreationException
getRootBeanTypeMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BeanInstantiationException
-
BeanInstantiationException
- Parameters:
message- The message
-
BeanInstantiationException
- Parameters:
resolutionContext- The resolution contextcause- The throwable
-
BeanInstantiationException
public BeanInstantiationException(BeanResolutionContext resolutionContext, @Nullable String message) - Parameters:
resolutionContext- The resolution contextmessage- The message
-
BeanInstantiationException
-
BeanInstantiationException
-