org.moyoman.util
Class IllegalKoException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.moyoman.util.IllegalMoveException
                    |
                    +--org.moyoman.util.IllegalKoException
All Implemented Interfaces:
Serializable

public class IllegalKoException
extends IllegalMoveException

This exception is thrown when a user attempts to retake a ko without playing a ko threat.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.moyoman.util.IllegalMoveException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
IllegalKoException(Stone st)
          Create the IllegalKoException object.
 
Methods inherited from class org.moyoman.util.IllegalMoveException
getStone
 
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

IllegalKoException

public IllegalKoException(Stone st)
Create the IllegalKoException object.

Parameters:
st - The stone that was illegally played.