Class ControlFlowException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oracle.truffle.api.nodes.ControlFlowException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
KillException, QuitException

public class ControlFlowException extends RuntimeException
An exception thrown to model control flow in a Truffle interpreter. The Truffle optimizer has special knowledge of this exception class for performance optimizations.
See Also:
  • Constructor Details

    • ControlFlowException

      public ControlFlowException()
      Creates an exception thrown to model control flow.
  • Method Details

    • fillInStackTrace

      public final Throwable fillInStackTrace()
      For performance reasons, this exception does not record any stack trace information.
      Overrides:
      fillInStackTrace in class Throwable