Class ModelException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.model.modelexceptions.ModelException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AbuseOfFaithException,AlreadyProducedException,InvalidCardException,InvalidCardSlotException,InvalidDevelopCardException,InvalidLeaderCardException,InvalidUsernameException,LeaderIsActiveException,MarbleNotExistException,MaximumNumberOfPlayersException,MaxLeaderCardLevelsException,MoreWhiteLeaderCardsException,NeedAResourceToAddException,NegativeQuantityException,NoConnectedPlayerException,NotActivatableException,NotBuyableException,NotEnoughResourcesException,NotEnoughSpaceException,RowOrColumnNotExistsException,WrongLeaderCardException,WrongResourceNumberException
public class ModelException
extends java.lang.Exception
A generic model exception
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description ModelException()ModelException(java.lang.String message) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ModelException
public ModelException() -
ModelException
public ModelException(java.lang.String message)
-