Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice
Class Continuation.SimpleContinuation

    java.lang.Object
      rice.Continuation.SimpleContinuation

All Implemented Interfaces:
  Continuation

Enclosing class:
  Continuation

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.

Version:
  $Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
  jeffh

Nested Class Summary

Nested classes inherited from class rice.Continuation
`Continuation.ErrorContinuation, Continuation.ExternalContinuation, Continuation.ListenerContinuation, Continuation.MultiContinuation, Continuation.NamedContinuation, Continuation.SimpleContinuation, Continuation.StandardContinuation`

Constructor Summary
`Continuation.SimpleContinuation()`

Method Summary
`void` | `receiveException(java.lang.Exception result)` Called when an execption occured as a result of the previous command.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface rice.Continuation
`receiveResult`

Constructor Detail

### Continuation.SimpleContinuation

    public Continuation.SimpleContinuation()

Method Detail

### receiveException

    public void receiveException(java.lang.Exception result)

  Called when an execption occured as a result of the previous command. Simply prints an error message to the screen.

  Specified by:
    `receiveException` in interface `Continuation`
  Parameters:
    `result` - The exception which was caused.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.