de.kosi.model.game
Class FirstTrickException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--de.kosi.model.game.FirstTrickException
- All Implemented Interfaces:
- java.io.Serializable
- public class FirstTrickException
- extends java.lang.Exception
This exception is thrown if a player wants to get information about
the cards currently on the table -- which always have to be one to
four (1 .. 4) cards -- and no card has been played yet.
ChangeLog:
$Log: FirstTrickException.java,v $
Revision 1.1 2001/06/15 09:33:27 betacarotine
Changed the Game-interface. Instead of
int getLatestLeader() and
List getLatestTrick()
we now have
Trick getLatestTrick()
The internal representation and storage of the tricks is reimplemented too
based on the new Trick-class.
- Version:
- $Revision: 1.1 $ ($Date: 2001/06/15 09:33:27 $)
- Author:
- PG KoSI, Fachbereich Informatik, Universitaet Oldenburg
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FirstTrickException
public FirstTrickException(java.lang.String msg)
- Creates a new Exception with the specified message.
- Parameters:
msg
- A message describing the exception.
FirstTrickException
public FirstTrickException()
- Creates a new Exception with standard message.