Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ErrorCodeExceptionTranslator Members

ErrorCodeExceptionTranslator overview

Protected Static (Shared) Fields

log The shared log instance for this class (and derived classes).

Public Instance Constructors

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

Public Instance Properties

DbProvider Sets the db provider.
ErrorCodes Gets the error codes for the provider
FallbackTranslator Gets or sets the fallback translator to use in case error code based translation fails.

Public Instance Methods

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.
IsValidDataAccessException Determines whether the specified exception is valid data access exception.
ToString (inherited from Object)Returns a String that represents the current Object.
Translate Translate the given SystemException into a generic data access exception.

Protected Instance Methods

BuildMessage Builds the message.
DoTranslate Template method for actually translating the given exception. given SystemException into a generic data access exception.
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.
TranslateException Subclasses can override this method to attempt a custom mapping from a data access Exception to DataAccessException.

See Also

ErrorCodeExceptionTranslator Class | Spring.Data.Support Namespace