Microsoft.Practices.EnterpriseLibrary.ExceptionHandling Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Classes

  Class Description
Public class ExceptionFormatter
Represents the base class from which all implementations of exception formatters must derive. The formatter provides functionality for formatting Exception objects.
Public class ExceptionHandingInstaller
Let the system know that the InstallUtil.exe tool will be run against this assembly
Public class ExceptionHandlerCustomFactory
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the process to build an IExceptionHandler described by an isntance ExceptionHandlerData configuration object.
Public class ExceptionHandlingErrorEventArgs
Provides data for the exceptionHandlingErrorOccurred event.
Public class ExceptionHandlingException
An exception that occurred during the exception handling process.
Public class ExceptionPolicy
Represents a policy with exception types and exception handlers.
Public class ExceptionPolicyCustomFactory
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the process to build an ExceptionPolicyImpl described by a ExceptionPolicyData configuration object.
Public class ExceptionPolicyEntry
Represents an entry in an ExceptionPolicy containing an exception type as the key and a list of IExceptionHandler objects as the value.
Public class ExceptionPolicyEntryCustomFactory
This type supports the Enterprise Library infrastructure and is not intended to be used directly from your code. Represents the general process to build an ExceptionPolicyEntry object given a instance of ExceptionTypeData.
Public class ExceptionPolicyFactory
Factory for ExceptionPolicyImpls. This class is responsible for creating all the internal classes needed to implement a CacheManager.
Public class ExceptionPolicyImpl
Represents a policy for handling exceptions.
Public class ExceptionUtility
Provides common functions for the Exception Handling Application Block classes. Cannot inherit from this class.
Public class ReplaceHandler
Replaces the exception in the chain of handlers with a cleansed exception.
Public class TextExceptionFormatter
Represents an exception formatter that formats exception objects as text.
Public class WrapHandler
Wraps the current exception in the handling chain with a new exception of a specified type.
Public class XmlExceptionFormatter
Represents an exception formatter that formats exception objects as XML.

Interfaces

  Interface Description
Public interface IExceptionHandler
Defines the contract for an ExceptionHandler. An ExceptionHandler contains specific handling logic (i.e. logging the exception, replacing the exception, etc.) that is executed in a chain of multiple ExceptionHandlers. A chain of one or more ExceptionHandlers is executed based on the exception type being handled, as well as the ExceptionPolicy.

Enumerations

  Enumeration Description
Public enumeration PostHandlingAction
Determines what action should occur after an exception is handled by the configured exception handling chain.
Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.