class sap.ui.model.ValidateException

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Extends:
Module: sap/ui/model/ValidateException
Application Component: CA-UI5-COR

Instances of this exception are thrown when constraints of a type are violated.

Documentation links:


Constructor

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