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
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalKoException
public IllegalKoException(Stone st)
- Create the IllegalKoException object.
- Parameters:
st
- The stone that was illegally played.