Internet Chess ToolKit
v0.2.0

ictk.boardgame
Class OutOfTurnException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byictk.boardgame.BoardGameException
              extended byictk.boardgame.MoveException
                  extended byictk.boardgame.IllegalMoveException
                      extended byictk.boardgame.OutOfTurnException
All Implemented Interfaces:
java.io.Serializable

public class OutOfTurnException
extends IllegalMoveException

tried to execute a move where the piece moved belonged to a player who's turn is wasn't.

See Also:
Serialized Form

Constructor Summary
OutOfTurnException()
           
OutOfTurnException(java.lang.String s)
           
OutOfTurnException(java.lang.String s, Move m)
           
 
Methods inherited from class ictk.boardgame.IllegalMoveException
getMoveString, setMoveString, toString
 
Methods inherited from class ictk.boardgame.MoveException
getMove
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OutOfTurnException

public OutOfTurnException()

OutOfTurnException

public OutOfTurnException(java.lang.String s)

OutOfTurnException

public OutOfTurnException(java.lang.String s,
                          Move m)

Submit a bug or feature
Visit the Website
Internet Chess ToolKit is licensed under the GPL v2 .