Package io.micronaut.context.exceptions
Class DisabledBeanException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.micronaut.context.exceptions.DisabledBeanException
-
- All Implemented Interfaces:
java.io.Serializable
public class DisabledBeanException extends java.lang.RuntimeException
An exception that can be thrown to disable a bean programmatically from within a factory bean.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisabledBeanException(java.lang.String reason)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
-