Class NotEnoughSpaceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.model.modelexceptions.ModelException
it.polimi.ingsw.model.modelexceptions.NotEnoughSpaceException
- All Implemented Interfaces:
java.io.Serializable
public class NotEnoughSpaceException extends ModelException
Thrown when one try to add into warehouse a resources without having a place in which put it
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NotEnoughSpaceException()NotEnoughSpaceException(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
-
NotEnoughSpaceException
public NotEnoughSpaceException() -
NotEnoughSpaceException
public NotEnoughSpaceException(java.lang.String message)
-