Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

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

DelegatingDbProvider Class | Spring.Data.Common Namespace