Class DataValidationRuntimeException

All Implemented Interfaces:
Serializable

public class DataValidationRuntimeException extends MendixRuntimeException
This exception is thrown when data validation of an object member fails (on change, setValue or commit).
See Also:
  • Constructor Details

    • DataValidationRuntimeException

      public DataValidationRuntimeException(String message)
      Creates a data validation exception with the specified message and no failed validations.
      Parameters:
      message - exception message
    • DataValidationRuntimeException

      public DataValidationRuntimeException(String message, List<IDataValidation> failedValidations)
      Creates a data validation exception with the specified message and failed validations.
      Parameters:
      message - exception message
      failedValidations - the validations that caused this exception
  • Method Details

    • getFailedValidations

      public List<IDataValidation> getFailedValidations()
      List of failed validations.
      Returns:
      failed validations