Class ControlFlowException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oracle.truffle.api.nodes.ControlFlowException
All Implemented Interfaces:
Serializable

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.
Since:
0.8 or earlier
See Also:
  • Constructor Details

    • ControlFlowException

      public ControlFlowException()
      Creates an exception thrown to model control flow.
      Since:
      0.8 or earlier
  • Method Details

    • fillInStackTrace

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