Plug-in manager error handling

The plug-in manager does not throw any subscriber exceptions that it receives from subscribers. Instead, it encapsulates these exceptions into the exception context of the data object for further analysis by subsequent subscribers.

The preExit method call creates the exception context and the postExit method call removes the exception context at the end. The ExceptionContext object consists of the following objects:

Each of these objects further consists of the following objects:

Each SubscriberExecContext object supports the following features:

The ModificationListContext object has additional information that enables subscribers to veto virtual member manager calls. The following table lists the generic subscriber status codes.

Table 1. Generic subscriber status codes
Status code Description
SUCCESS The call is successful.
PARTIAL_FAILURE The call is a partial failure but the reason code and the reason string contain further information.
WARNING The call is successful but reason code and the reason string contain further information.
FAILURE The call fails and the reason code and reason string contain further information.
RESET Plug-in manager uses this code to call the reset function.
OTHER Generic code and the reason code and the reason string must be set to be recorded into the virtual member manager logs.

Examine the ExceptionContext object of the data object to review errors from previous plug-in invocations.



Terms of use | Feedback