Class DisabledBeanException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.context.exceptions.DisabledBeanException
All Implemented Interfaces:
Serializable

public class DisabledBeanException extends RuntimeException
An exception that can be thrown to disable a bean programmatically from within a factory bean.
Since:
2.0
Author:
graemerocher
See Also:
  • Constructor Details

    • DisabledBeanException

      public DisabledBeanException(String reason)
      Parameters:
      reason - The reason the bean was disabled.
  • Method Details