Class LeaderIsActiveException

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

public class LeaderIsActiveException
extends ModelException
Thrown when one try to perform something that must be performed on an inactive leader card on an active leader card: e.g. try to discard an active leader card
See Also:
Serialized Form
  • Constructor Summary

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

    • LeaderIsActiveException

      public LeaderIsActiveException()
    • LeaderIsActiveException

      public LeaderIsActiveException​(java.lang.String message)