Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

DuplicateKeyException Constructor

Initializes a new instance of the DuplicateKeyException class.

[Visual Basic]
Public Overloads Sub New( _
   ByVal task As String, _
   ByVal sql As String, _
   ByVal ex As Exception _
)
[C#]
DuplicateKeyException(
   string task,
   string sql,
   Exception ex
);

Parameters

task
name of the current task.
sql
The offending SQL statment
ex
The root cause.

See Also

DuplicateKeyException Class | Spring.Data Namespace | DuplicateKeyException Constructor Overload List