org.moyoman.util
Class SuicideException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.moyoman.util.IllegalMoveException
|
+--org.moyoman.util.SuicideException
- All Implemented Interfaces:
- Serializable
- public class SuicideException
- extends IllegalMoveException
This exception is thrown when a move is made which is suicide.
If the rule set being used allows suicide, then this exception
would not be thrown.
- 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 |
SuicideException
public SuicideException(Stone st)
- Create the exception.
- Parameters:
st
- - The stone which caused the exception.