- All Implemented Interfaces:
- Enclosing interface:
- Continuation<R,E extends java.lang.Exception>
public abstract static class Continuation.SimpleContinuation
- extends java.lang.Object
- implements Continuation
This class is a Continuation provided for simplicity which
passes both results and exceptions to the receiveResult() method.
|Nested classes/interfaces inherited from interface rice.Continuation
Continuation.ErrorContinuation<R,E extends java.lang.Exception>, Continuation.ExternalContinuation<R,E extends java.lang.Exception>, Continuation.ExternalContinuationRunnable<R,E extends java.lang.Exception>, Continuation.ExternalRunnable, Continuation.ListenerContinuation<R,E extends java.lang.Exception>, Continuation.MultiContinuation, Continuation.NamedContinuation, Continuation.SimpleContinuation, Continuation.StandardContinuation<R,E extends java.lang.Exception>
Called when an exception occurred as a result of the
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void receiveException(java.lang.Exception result)
- Called when an exception occurred as a result of the
previous command. Simply prints an error message to the screen.
- Specified by:
receiveException in interface
result - The exception which was caused.
Copyright © 2001-2005 - Rice Pastry.