com.uwyn.rife.continuations.exceptions
Class CallException
java.lang.Object
java.lang.Throwable
java.lang.Error
com.uwyn.rife.tools.exceptions.LightweightError
com.uwyn.rife.continuations.exceptions.CallException
- All Implemented Interfaces:
- ControlFlowRuntimeException, Serializable
public class CallException
- extends LightweightError
- implements ControlFlowRuntimeException
This exception will be thrown when a call continuation is triggered.
- Since:
- 1.6
- Version:
- $Revision: 3813 $
- Author:
- Geert Bevin (gbevin[remove] at uwyn dot com)
- See Also:
- Serialized Form
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 contexttarget - the call target- Since:
- 1.6
getContext
public ContinuationContext getContext()
- Retrieves the context of this call continuation.
- Returns:
- this call continuation's context
- Since:
- 1.6
getTarget
public Object getTarget()
- Retrieves the target of this call continuation.
- Returns:
- this call continuation's target
- Since:
- 1.6
Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.