Class AbuseOfFaithException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.model.modelexceptions.ModelException
it.polimi.ingsw.model.modelexceptions.AbuseOfFaithException
- All Implemented Interfaces:
java.io.Serializable
public class AbuseOfFaithException extends ModelException
Thrown when one try to use the faith resource type in the wrong way (but permitted with other resource type): e.g. try to add it into chest or warehouse
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AbuseOfFaithException()AbuseOfFaithException(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
-
AbuseOfFaithException
public AbuseOfFaithException() -
AbuseOfFaithException
public AbuseOfFaithException(java.lang.String message)
-