Express (Distributed operating systems), v8.0 > Secure applications and their environment > Authenticate users > Select a registry or repository > Manage realms in a federated repository > Virtual member manager > Develop with virtual member manager > Extend virtual member manager functionality in the application > Plug-in manager for virtual member manager


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.

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.

Parent topic: Plug-in manager for virtual member manager
Configure the plug-in manager
State preservation and avoiding infinite recursion



+

Search Tips   |   Advanced Search