DuplicatedPrimaryKeyException is thrown when a data modification command violates a primary key or unique index constraint.
Creates a new instance of DuplicatedPrimaryKeyException.
public Void DuplicatedPrimaryKeyException(msg, src, inner)
Name | Type | Summary |
---|---|---|
msg | String | Error message. |
src | String | Source core reference. |
inner | Exception | Origina esception |
Creates a new instance of DuplicatedPrimaryKeyException.
public Void DuplicatedPrimaryKeyException(cmd, src, inner)
Name | Type | Summary |
---|---|---|
cmd | IDbCommand | Command executed that causes the error. |
src | String | Source code reference. |
inner | Exception | Original exception. |
In this document