Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IDbProvider.IsDataAccessException Method

Determines whether the provided exception is in fact related to database access. This can be provider dependent in .NET 1.1 since there isn't a common base class for ADO.NET exceptions.

[Visual Basic]
Public Sub IsDataAccessException( _
   ByVal e As Exception _
)
[C#]
bool IsDataAccessException(
   Exception e
);

Parameters

e
The exception thrown when performing data access operations.

Return Value

true if is a valid data access exception for the specified exception; otherwise, false.

See Also

IDbProvider Interface | Spring.Data.Common Namespace