Package it.polimi.ingsw.Exceptions.Input
Class InvalidElementException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.Exceptions.Input.InputValidationException
it.polimi.ingsw.Exceptions.Input.InvalidElementException
- All Implemented Interfaces:
- Serializable
Signals there was error an while validating part of a contract. In this case the error is: an element was invalid in the
 context of validation
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInvalidElementException(String elementName) Creates an exception reporting a specific error and an identifier for the part of the failed contract
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InvalidElementExceptionCreates an exception reporting a specific error and an identifier for the part of the failed contract- Parameters:
- elementName- the name of the field in the contract that failed validation
 
 
-