ConstraintViolationException

Thrown the a database constraint is violated by a data modification command.

Namespace:
Inetdev.Data
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.DataAccessException

Constructors

ConstraintViolationException

Crea una nueva instancia de ConstraintViolationException.

Signature:
public Void ConstraintViolationException(msg, src, inner)
Parameters
Name Type Summary
msg String Error message.
src String Source code reference.
inner Exception Original exception.

ConstraintViolationException

Creates a new instance of ConstraintViolationException.

Signature:
public Void ConstraintViolationException(cmd, src, inner)
Parameters
Name Type Summary
cmd IDbCommand Database command that causes the violation.
src String Source code reference.
inner Exception Original exception.

In this document