Internet Chess ToolKit
v0.2.0

ictk.boardgame
Class AmbiguousMoveException

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

public class AmbiguousMoveException
extends MoveException

AmbiguousMoveException is used to if a move is played but not all information necessary to make the move unique is given. For example, if SAN notation uses Rxe3 but there are two rooks that can take on e3 then the move is Ambiguous.

See Also:
Serialized Form

Constructor Summary
AmbiguousMoveException()
           
AmbiguousMoveException(java.lang.String mesg)
           
 
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, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AmbiguousMoveException

public AmbiguousMoveException()

AmbiguousMoveException

public AmbiguousMoveException(java.lang.String mesg)

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