Class CallException

All Implemented Interfaces:
Serializable, ControlFlowRuntimeException

public class CallException extends LightweightError implements ControlFlowRuntimeException
This exception will be thrown when a call continuation is triggered.
Since:
1.0
See Also:
  • Constructor Details

    • CallException

      public CallException(ContinuationContext context, Object target)
      [PRIVATE AND UNSUPPORTED] Instantiates a new call exception.

      This is used by the instrumented bytecode that provides continuations support, it's not intended for general use.

      Parameters:
      context - the active continuation context
      target - the call target
      Since:
      1.0
  • Method Details

    • getContext

      public ContinuationContext getContext()
      Retrieves the context of this call continuation.
      Returns:
      this call continuation's context
      Since:
      1.0
    • getTarget

      public Object getTarget()
      Retrieves the target of this call continuation.
      Returns:
      this call continuation's target
      Since:
      1.0