de.tabacha.cgo
Class InvalidMoveException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byde.tabacha.cgo.InvalidMoveException
All Implemented Interfaces:
java.io.Serializable

public class InvalidMoveException
extends java.lang.Exception

Indicates that a move returned by a routine is invalid.
$Id: InvalidMoveException.java,v 1.4 2004/12/23 21:42:43 mk Exp $

Version:
$Revision: 1.4 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
InvalidMoveException(java.lang.String message, Move move)
          Constructor.
 
Method Summary
 Move getMove()
          Returns the invalid move.
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidMoveException

public InvalidMoveException(java.lang.String message,
                            Move move)
Constructor.

Parameters:
message - error message
move - The invalid move itself
Method Detail

getMove

public Move getMove()
Returns the invalid move.