iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

DataMapperException Constructor (Exception)

Initializes a new instance of the DataMapperException class with a reference to the inner exception that is the cause of this exception.

[Visual Basic]
Overloads Public Sub New( _
   ByVal Exception As Exception _
)
[C#]
public DataMapperException(
   Exception ex
);

Parameters

ex
The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

Remarks

This constructor initializes the Message property of the new instance using the message parameter.

See Also

DataMapperException Class | IBatisNet.DataMapper.Exceptions Namespace | DataMapperException Constructor Overload List