Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PersistenceExceptionTranslationInterceptor Class

AOP MethodInterceptor that provides persistence exception translation based on a given PersistenceExceptionTranslator.

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

System.Object
   PersistenceExceptionTranslationInterceptor

[Visual Basic]
Public Class PersistenceExceptionTranslationInterceptor
    Implements IMethodInterceptor, IInterceptor, IAdvice, IObjectFactoryAware, IInitializingObject
[C#]
public class PersistenceExceptionTranslationInterceptor : IMethodInterceptor, IInterceptor, IAdvice, IObjectFactoryAware, IInitializingObject

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

Delegates to the given IPersistenceExceptionTranslator to translate an Exception thrown into Spring's DataAccessException hierarchy (if appropriate).

Requirements

Namespace: Spring.Dao.Support

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

See Also

PersistenceExceptionTranslationInterceptor Members | Spring.Dao.Support Namespace