Class InvalidElementException

All Implemented Interfaces:
Serializable

public class InvalidElementException extends InputValidationException
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 Details

    • InvalidElementException

      public InvalidElementException(String elementName)
      Creates 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