Coverage Summary for Class: FullContainerException (it.polimi.ingsw.Exceptions.Container)
Class |
Class, %
|
Method, %
|
Line, %
|
FullContainerException |
100%
(1/1)
|
100%
(1/1)
|
100%
(1/1)
|
1 package it.polimi.ingsw.Exceptions.Container;
2
3 /**
4 * Signals there was an error in the container part or function of an object. The error has to do with the container
5 * being full.
6 */
7 public class FullContainerException extends ContainerException {
8 /**
9 * Creates an exception with the name of the affected container and a default report
10 *
11 * @param containerName a string identifying the container
12 */
13 public FullContainerException(String containerName) {
14 super(containerName, containerName + " was found full.");
15 }
16 }