- All Implemented Interfaces:
- Enclosing interface:
public abstract static class Continuation.StandardContinuation
- extends java.lang.Object
- implements Continuation
This class is a Continuation provided for simplicity which
passes any errors up to the parent Continuation which it
is constructed with. Subclasses should implement the
receiveResult() method with the appropriate behavior.
Called when an execption occured as a result of the
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected Continuation parent
- The parent continuation
public Continuation.StandardContinuation(Continuation continuation)
- Constructor which takes in the parent continuation
for this continuation.
continuation - The parent of this continuation
public void receiveException(java.lang.Exception result)
- Called when an execption occured as a result of the
previous command. Simply calls the parent continuation's
- Specified by:
receiveException in interface
result - The exception which was caused.
Copyright © 2001-2005 - Rice Pastry.