Class java.rmi.examples.remoteControl.OutOfSyncException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.rmi.examples.remoteControl.OutOfSyncException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.rmi.examples.remoteControl.OutOfSyncException

public class OutOfSyncException
extends Exception
Thrown when MoveChannel.sendMove is invoked with a stale turn.
See Also:
sendMove

Variable Index

 o currentTurn
The actual current turn.
 o requestedTurn
The turn that was requested.

Constructor Index

 o OutOfSyncException(int, int)

Variables

 o requestedTurn
  public int requestedTurn
The turn that was requested.
 o currentTurn
  public int currentTurn
The actual current turn.

Constructors

 o OutOfSyncException
  public OutOfSyncException(int req,
                            int cur)

All Packages  Class Hierarchy  This Package  Previous  Next  Index