Class MoreWhiteLeaderCardsException

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

public class MoreWhiteLeaderCardsException
extends ModelException
Thrown when one try to add into warehouse a white marble having more than one leader card that can convert it without specify which of them must be used
See Also:
Serialized Form
  • Constructor Summary

    Constructors
    Constructor Description
    MoreWhiteLeaderCardsException()  
    MoreWhiteLeaderCardsException​(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

    • MoreWhiteLeaderCardsException

      public MoreWhiteLeaderCardsException()
    • MoreWhiteLeaderCardsException

      public MoreWhiteLeaderCardsException​(java.lang.String message)