Internet Chess ToolKit
v0.2.0

ictk.boardgame
Class MoveException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byictk.boardgame.BoardGameException
              extended byictk.boardgame.MoveException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AmbiguousMoveException, IllegalMoveException

public class MoveException
extends BoardGameException

An Exception that occurs due to a move.

See Also:
Serialized Form

Constructor Summary
MoveException()
           
MoveException(java.lang.String s)
           
MoveException(java.lang.String s, Move _m)
           
 
Method Summary
 Move getMove()
          returns the move that caused the problem.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MoveException

public MoveException()

MoveException

public MoveException(java.lang.String s)

MoveException

public MoveException(java.lang.String s,
                     Move _m)
Method Detail

getMove

public Move getMove()
returns the move that caused the problem. Sometimes the move is in a poor state since it was illegal and probably not verified.


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