Class SLReturnException

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

public final class SLReturnException extends com.oracle.truffle.api.nodes.ControlFlowException
Exception thrown by the return statement and caught by the function body. The exception transports the return value in its result field.
See Also:
  • Constructor Details

    • SLReturnException

      public SLReturnException(Object result)
  • Method Details

    • getResult

      public Object getResult()