iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1 |
|
DataAccessException Constructor (Exception)
Initializes a new instance of the DataAccessException 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 DataAccessException(
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
DataAccessException Class | IBatisNet.DataAccess.Exceptions Namespace | DataAccessException Constructor Overload List