Class DataValidationRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.mendix.systemwideinterfaces.MendixRuntimeException
com.mendix.systemwideinterfaces.core.DataValidationRuntimeException
- All Implemented Interfaces:
Serializable
This exception is thrown when data validation of an object member fails (on change, setValue or commit).
- See Also:
-
Constructor Summary
ConstructorDescriptionDataValidationRuntimeException
(String message) Creates a data validation exception with the specified message and no failed validations.DataValidationRuntimeException
(String message, List<IDataValidation> failedValidations) Creates a data validation exception with the specified message and failed validations. -
Method Summary
Modifier and TypeMethodDescriptionList of failed validations.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DataValidationRuntimeException
Creates a data validation exception with the specified message and no failed validations.- Parameters:
message
- exception message
-
DataValidationRuntimeException
Creates a data validation exception with the specified message and failed validations.- Parameters:
message
- exception messagefailedValidations
- the validations that caused this exception
-
-
Method Details
-
getFailedValidations
List of failed validations.- Returns:
- failed validations
-