Scanjour.Workflow4.ActivityLibrary.ErrorManagement Namespace

Scanjour Workflow4 Reference Manual

[Missing <summary> documentation for "N:Scanjour.Workflow4.ActivityLibrary.ErrorManagement"]

Classes

  ClassDescription
Public classClassNameFilteringEntry
An instance of this class can work in two modes (ClassNameFilteringEntryOperationMode): 1. Exact Type Match 2. Match on Descendant Types Exact Type Match An instance of this class looks for a perfect match between the type given by the fully qualified class name and the type of the exception.If there is perfect match, then it accepts the exception. Match on Descendant Types Like the Exact Type Match the instance looks for a perfect match between the type given by the fully qualified class name and the type of the exception.If there is perfect match, then it accepts the exception.If not, then the compares the super type of the exception with the specified type by recursion.For that reason, if the specified class is Exception and the instance is using Match on Descendant Types, then the filter entry will accept all exceptions.
Public classCompensatingAction
The compensating action specifies a suggested operation and optional properties to the operation.
Public classErrorHandler
An Error Handler defines a Filter and an Action. An Error Handler accepts exceptions, which comply with the Filter and defines associated action.
Public classErrorManager
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.
Public classErrorManagerFactory
An instance of this factory can produce error managers (ErrorManager). The production takes offset in the configuration in WorkZone database contained in the tables WZP_ERROR_MANAGER and WZP_FILTERING_ENTRY.
Public classErrorTextFormatParser
Utility class, which is responsible for parsing error text formats. When parsing an error text format, some parameters can be specified in curled braces. Each parameter specifies an index of a filtering entry (zero based), an instruction to the filtering entry and optional arguments. To specify how each parameter is interpreted a delegate is defined (ErrorTextFormatParserGetParameterText).
Public classFilter
An instance of this class defines a set of Filtering Entries, where each Filtering Entry (IFilteringEntry) is of a specific type. If all the Filtering Entries in the instance find what they are looking for, then the Error Handler accepts the exception. If one or more fails, then the criterion for the instance to accept the exception is not fulfilled.In that case and if both the Mode of the instance is sat to Traverse and the actual exception contains an inner exception, then the instance will try accepting the inner exception. If the inner exception was accepted, then the instance is also said to have accepted the exception.
Public classManageError
This activity interprets an exception from the configuration contained in the WZP_ERROR_MANAGER and WZP_FILTERING_ENTRY tables. The output from the activity is a compensating action.
Public classParameterCache
Class that provides the abillity to read a webresponse once, and store a valid xml for reuse
Public classPropertyValueFilteringEntry
An instance of this class looks for a specific property on the exception. If the property exists and the string value of the contained value matches the provided regular expression, then the Property Value Filtering Entry accepts the exception.
Public classPropertyXPathFilteringEntry
An instance of this class is used for analyzing XML contained in a property in an exception. This is done by applying an XPath to the XML.
Public classXmlRetrievalResult
Instance of this class is used to store in a ParameterCache, containing either a valid xml, or an error message, describing the error reading the xml
Interfaces

  InterfaceDescription
Public interfaceIFilteringEntry
Implementations of this interface can look for a specific pattern in an exception, e.g. if the Message part of an exception contains a specific text. If a Filtering Entry finds what it is looking for, we say that the Filtering Entry accepts the exception. What the Filtering Entry is looking for depends on the specific type of the Filtering Entry and how it is configured.
Public interfaceIParameterProvider
Implementation of this interface can provide an XmlRetrievalResult, containing either a valid xml or an error message in case of invalid xml
Delegates

  DelegateDescription
Public delegateErrorTextFormatParserGetParameterText
The delegate that derives the error text part from the filtering entry.
Enumerations

  EnumerationDescription
Public enumerationClassNameFilteringEntryOperationMode
The modes in which the filtering entry can operate.
Public enumerationCompensatingActionActionType
The type of suggested action.
Public enumerationFilterFilterMode
The two modes in which the filter can operate.