Class ControlFlowSignal

  • All Implemented Interfaces:
    java.io.Serializable

    public class ControlFlowSignal
    extends java.lang.RuntimeException
    An exception that is used to influence control flows.

    There are some specific cases, where control flows can be aborted or otherwise influenced using well-defined exceptions. Some examples where this can be very useful:

    Typically, a ControlFlowException is thrown from within an ExecuteListener.

    Author:
    Lukas Eder
    See Also:
    ExecuteListener, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ControlFlowSignal()
      Create a new ControlFlowException.
      ControlFlowSignal​(java.lang.String message)
      Create a new ControlFlowException.
    • 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

      • ControlFlowSignal

        public ControlFlowSignal()
        Create a new ControlFlowException.
      • ControlFlowSignal

        public ControlFlowSignal​(java.lang.String message)
        Create a new ControlFlowException.
    • Method Detail

      • fillInStackTrace

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