Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IPersistenceExceptionTranslator Interface

Interface implemented by Spring integrations with data access technologies that throw exceptions.

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

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

Types that implement IPersistenceExceptionTranslator

Type Description
ChainedPersistenceExceptionTranslator Implementation of PersistenceExceptionTranslator that supports chaining, allowing the addition of PersistenceExceptionTranslator instances in order. Returns
non-null
on the first (if any) match.
LocalSessionFactoryObject An IFactoryObject that creates a local Hibernate SessionFactory instance. Behaves like a SessionFactory instance when used as bean reference, e.g. for HibernateTemplate's "SessionFactory" property.
LocalSessionFactoryObject An IFactoryObject that creates a local Hibernate SessionFactory instance. Behaves like a SessionFactory instance when used as bean reference, e.g. for HibernateTemplate's "SessionFactory" property.
LocalSessionFactoryObject An IFactoryObject that creates a local Hibernate SessionFactory instance. Behaves like a SessionFactory instance when used as bean reference, e.g. for HibernateTemplate's "SessionFactory" property.

Remarks

This allows consistent usage of combined exception translation functionality, without forcing a single translator to understand every single possible type of exception.

Requirements

Namespace: Spring.Dao.Support

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

See Also

IPersistenceExceptionTranslator Members | Spring.Dao.Support Namespace