Class AlertException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class AlertException
    extends java.lang.Exception
    Used to alert EventProcessors waiting at a SequenceBarrier of status changes.

    It does not fill in a stack trace for performance reasons.

    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static AlertException INSTANCE
      Pre-allocated exception to avoid garbage generation.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable fillInStackTrace()
      Overridden so the stack trace is not filled in for this exception for performance reasons.
      • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • INSTANCE

        public static final AlertException INSTANCE
        Pre-allocated exception to avoid garbage generation.
    • Method Detail

      • fillInStackTrace

        public java.lang.Throwable fillInStackTrace()
        Overridden so the stack trace is not filled in for this exception for performance reasons.
        Overrides:
        fillInStackTrace in class java.lang.Throwable
        Returns:
        this instance.