Package rife.continuations.exceptions
Class CallException
java.lang.Object
java.lang.Throwable
java.lang.Error
rife.tools.exceptions.LightweightError
rife.continuations.exceptions.CallException
- All Implemented Interfaces:
Serializable
,ControlFlowRuntimeException
This exception will be thrown when a call continuation is triggered.
- Since:
- 1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionCallException
(ContinuationContext context, Object target) [PRIVATE AND UNSUPPORTED] Instantiates a new call exception. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the context of this call continuation.Retrieves the target of this call continuation.Methods inherited from class rife.tools.exceptions.LightweightError
fillInStackTrace, getStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CallException
[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 contexttarget
- the call target- Since:
- 1.0
-
-
Method Details
-
getContext
Retrieves the context of this call continuation.- Returns:
- this call continuation's context
- Since:
- 1.0
-
getTarget
Retrieves the target of this call continuation.- Returns:
- this call continuation's target
- Since:
- 1.0
-