Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IAdoExceptionTranslator Interface

Interface to be implemented by classes that can translate between properietary SQL exceptions and Spring.NET's data access strategy-agnostic DataAccessException.

For a list of all members of this type, see IAdoExceptionTranslator Members .

[Visual Basic]
Public Interface IAdoExceptionTranslator
[C#]
public interface IAdoExceptionTranslator

Types that implement IAdoExceptionTranslator

Type Description
ErrorCodeExceptionTranslator Implementation of IAdoExceptionTranslator that analyzes provider specific error codes and translates into the DAO exception hierarchy.
FallbackExceptionTranslator Translates all exceptions to an UncategorizedAdoException.

Remarks

Implementations can be generic (for example, ADO.NET Exceptions) or proprietary (for example, using SQL Server or Oracle error codes) for greater precision.

Requirements

Namespace: Spring.Data.Support

Assembly: Spring.Data (in Spring.Data.dll)

See Also

IAdoExceptionTranslator Members | Spring.Data.Support Namespace