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:
Serializable
An exception that can be thrown to disable a bean programmatically from within a factory bean.
- Since:
- 2.0
- Author:
- graemerocher
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DisabledBeanException
- Parameters:
reason
- The reason the bean was disabled.
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-