Class 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()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DisabledBeanException

        public DisabledBeanException​(java.lang.String reason)
        Parameters:
        reason - The reason the bean was disabled.
    • Method Detail

      • fillInStackTrace

        public final java.lang.Throwable fillInStackTrace()
        Overrides:
        fillInStackTrace in class java.lang.Throwable