Skip to main content

ConstraintViolationException(String, String, Exception) Constructor

Initializes a new instance of the ConstraintViolationException class with the specified settings.

Namespace: DevExpress.Xpo.DB.Exceptions

Assembly: DevExpress.Data.v24.2.dll

Declaration

public ConstraintViolationException(
    string sql,
    string parameters,
    Exception innerException
)

Parameters

Name Type Description
sql String

A string that specifies the SQL statement that raised the exception.

parameters String

A string that specifies the parameters for the SQL statement.

innerException Exception

An Exception object that represents the inner error.

See Also