Package io.micronaut.context.exceptions
Class BeanDestructionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.micronaut.context.exceptions.BeanContextException
-
- io.micronaut.context.exceptions.BeanDestructionException
-
- All Implemented Interfaces:
java.io.Serializable
public class BeanDestructionException extends BeanContextException
Exception type for exceptions that happen during bean destruction.- Since:
- 3.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BeanDestructionException(BeanType<?> beanType, java.lang.Throwable cause)
-
-
-
Constructor Detail
-
BeanDestructionException
public BeanDestructionException(@NonNull BeanType<?> beanType, @NonNull java.lang.Throwable cause)
- Parameters:
beanType
- The bean typecause
- The throwable
-
-