Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MultiDelegatingDbProvider.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 NotOverridable Sub IsDataAccessException( _
   ByVal e As Exception _
) _
    Implements IDbProvider.IsDataAccessException
[C#]
public 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.

Implements

IDbProvider.IsDataAccessException

See Also

MultiDelegatingDbProvider Class | Spring.Data Namespace