Class SLBreakException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oracle.truffle.api.nodes.ControlFlowException
com.oracle.truffle.sl.nodes.controlflow.SLBreakException
- All Implemented Interfaces:
Serializable
public final class SLBreakException
extends com.oracle.truffle.api.nodes.ControlFlowException
Exception thrown by the
break statement and caught by the loop statement. Since the exception is stateless, i.e., has no instance fields, we can use a
SINGLETON to avoid memory allocation during interpretation.- See Also:
-
Field Summary
Fields -
Method Summary
Methods inherited from class com.oracle.truffle.api.nodes.ControlFlowException
fillInStackTraceMethods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
SINGLETON
-