Coverage Summary for Class: GenericInputValidationException (it.polimi.ingsw.Exceptions.Input)

Class Class, % Method, % Line, %
GenericInputValidationException 100% (1/1) 100% (1/1) 100% (1/1)


1 package it.polimi.ingsw.Exceptions.Input; 2  3 /** 4  * Signals there was an error while validating part of a contract. In this case the error is defined by the thrower. 5  */ 6 public class GenericInputValidationException extends InputValidationException { 7  /** 8  * Creates an exception reporting a specific error and an identifier for the part of the failed contract 9  * 10  * @param elementName the name of the field in the contract that failed validation 11  * @param errorReport a short description of the error 12  */ 13  public GenericInputValidationException(String elementName, String errorReport) { 14  super(elementName, errorReport); 15  } 16 }