Class InvalidContainerIndexException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.Exceptions.Container.ContainerException
it.polimi.ingsw.Exceptions.Container.InvalidContainerIndexException
- All Implemented Interfaces:
Serializable
Signals there was an error in the container part or function of an object. The error has to do with the container
being accessed at an invalid index or key.
- See Also:
-
Constructor Summary
ConstructorDescriptionInvalidContainerIndexException
(String containerName) Creates an exception with the name of the affected container and a default report -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidContainerIndexException
Creates an exception with the name of the affected container and a default report- Parameters:
containerName
- a string identifying the container
-