de.kosi.model.game
Class TrickException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--de.kosi.model.game.TrickException
All Implemented Interfaces:
java.io.Serializable

public class TrickException
extends java.lang.Exception

Thrown if the server is in bad mood.

ChangeLog:

 $Log: TrickException.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

Field Summary
static java.lang.String[] ERROR_MSG
           
static int TRICK_COMPLETE
           
static int TRICK_NOT_COMPLETE
           
 
Constructor Summary
TrickException(int type)
           
 
Method Summary
 int getType()
           
 
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
 

Field Detail

TRICK_COMPLETE

public static final int TRICK_COMPLETE

TRICK_NOT_COMPLETE

public static final int TRICK_NOT_COMPLETE

ERROR_MSG

public static final java.lang.String[] ERROR_MSG
Constructor Detail

TrickException

public TrickException(int type)
Method Detail

getType

public int getType()