Class NotEnoughResourcesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.model.modelexceptions.ModelException
it.polimi.ingsw.model.modelexceptions.NotEnoughResourcesException
- All Implemented Interfaces:
java.io.Serializable
public class NotEnoughResourcesException extends ModelException
Thrown when one try to perform something without having the required resources
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NotEnoughResourcesException()NotEnoughResourcesException(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
-
NotEnoughResourcesException
public NotEnoughResourcesException() -
NotEnoughResourcesException
public NotEnoughResourcesException(java.lang.String message)
-