Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ErrorCodeExceptionTranslator Class

Implementation of IAdoExceptionTranslator that analyzes provider specific error codes and translates into the DAO exception hierarchy.

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

System.Object
   ErrorCodeExceptionTranslator

[Visual Basic]
Public Class ErrorCodeExceptionTranslator
    Implements IAdoExceptionTranslator
[C#]
public class ErrorCodeExceptionTranslator : IAdoExceptionTranslator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This class loads the obtains error codes from the IDbProvider metadata property ErrorCodes which defines error code mappings for various providers.

Requirements

Namespace: Spring.Data.Support

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

See Also

ErrorCodeExceptionTranslator Members | Spring.Data.Support Namespace