Class InvalidLeaderCardException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.model.modelexceptions.ModelException
it.polimi.ingsw.model.modelexceptions.InvalidLeaderCardException
- All Implemented Interfaces:
java.io.Serializable
public class InvalidLeaderCardException extends ModelException
Thrown when a specified leader card doesn't exist or isn't available to perform the specific action
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description InvalidLeaderCardException()InvalidLeaderCardException(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
-
InvalidLeaderCardException
public InvalidLeaderCardException() -
InvalidLeaderCardException
public InvalidLeaderCardException(java.lang.String message)
-