Instances of this exception are thrown when constraints of a type are violated.
Documentation links:
Creates a new ValidateException.
new sap.ui.model.ValidateException(message, violatedConstraints?)
Param | Type | Default Value | Description |
---|---|---|---|
message | string | A message explaining why the validation failed; this message is language dependent as it may be displayed on the UI |
|
violatedConstraints? | string[] | Names of the constraints that are violated; the names should be the same as documented in the type's constructor |