ErrorManager Class

Scanjour Workflow4 Reference Manual
The Error Manager consists of an ordered set of Error Handlers. The Error Manager is responsible of determining a compensating action to an exception. This is done by iterating through the Error Handlers until an Error Handler accepts the exception. The compensating action is then given by the Error Handler.
Inheritance Hierarchy


Namespace:  Scanjour.Workflow4.ActivityLibrary.ErrorManagement
Assembly:  Scanjour.Workflow4.ActivityLibrary_19.0.1.0 (in Scanjour.Workflow4.ActivityLibrary_19.0.1.0.dll) Version: (

public class ErrorManager

The ErrorManager type exposes the following members.


Public methodErrorManager
Creates an instance of the Error Manager with the ordered collection of Error Handlers.

Public propertyErrorHandlers
The ordered collection of Error Handlers.

Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAction
This method loops through the ordered collection of Error Handlers and invokes the Accepts method of the Filter until one is found, that accepts the provided exception. Hereafter the method returns the associated action. If the exception was not accepted by any of the Error Handlers, then null is returned.
Public methodGetErrorText
Builds and returns an error text based on the provided exception.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also