Class MaxLeaderCardLevelsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.model.modelexceptions.ModelException
it.polimi.ingsw.model.modelexceptions.MaxLeaderCardLevelsException
All Implemented Interfaces:
java.io.Serializable

public class MaxLeaderCardLevelsException
extends ModelException
Thrown when one try to add to warehouse too many special leader card's levels (try to activate too many storage leader cards)
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    MaxLeaderCardLevelsException()  
    MaxLeaderCardLevelsException​(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, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • MaxLeaderCardLevelsException

      public MaxLeaderCardLevelsException()
    • MaxLeaderCardLevelsException

      public MaxLeaderCardLevelsException​(java.lang.String message)