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

IBatisNetException Constructor (Exception)

Initializes a new instance of the IBatisNetException 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 IBatisNetException(
   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

IBatisNetException Class | IBatisNet.Common.Exceptions Namespace | IBatisNetException Constructor Overload List