Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PersistenceExceptionTranslationInterceptor Members

PersistenceExceptionTranslationInterceptor overview

Public Instance Constructors

PersistenceExceptionTranslationInterceptor Overloaded. Initializes a new instance of the PersistenceExceptionTranslationInterceptor class.

Public Instance Properties

ObjectFactory Callback that supplies the owning factory to an object instance.
PersistenceExceptionTranslator Sets the persistence exception translator. The default is to autodetect all IPersistenceExceptionTranslators in the containing object factory, using them in a chain.

Public Instance Methods

AfterPropertiesSet Ensures that the property PersistenceExceptionTranslator has been set. Invoked by an IObjectFactory after it has injected all of an object's dependencies.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
Invoke Return a translated exception if this is appropriate, otherwise rethrow the original exception.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

DetectPersistenceExceptionTranslators Detects the petsistence exception translators in the given object factory.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

PersistenceExceptionTranslationInterceptor Class | Spring.Dao.Support Namespace