Class GenericInputValidationException

All Implemented Interfaces:
Serializable

public class GenericInputValidationException extends InputValidationException
Signals there was an error while validating part of a contract. In this case the error is defined by the thrower.
See Also:
  • Constructor Details

    • GenericInputValidationException

      public GenericInputValidationException(String elementName, String errorReport)
      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
      errorReport - a short description of the error