org.moyoman.util
Class WrongColorException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.moyoman.util.IllegalMoveException
|
+--org.moyoman.util.WrongColorException
- All Implemented Interfaces:
- Serializable
- public class WrongColorException
- extends IllegalMoveException
This exception is thrown if a move of the wrong color is made.
- 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 |
WrongColorException
public WrongColorException(Stone st)
- Create the exception.
- Parameters:
st
- - The move which caused the exception.