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.v22.2.dll

NuGet Package: DevExpress.Data


public ConstraintViolationException(
    string sql,
    string parameters,
    Exception innerException


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