import win32com.server.policy
class DispatcherBase def _CreateInstance_(self, clsid, reqIID) def _GetIDsOfNames_(self, names, lcid) def _HandleException_(self) def _Invoke_(self, dispid, lcid, wFlags, args) def _QueryInterface_(self, iid) def __init__(self, policyClass, object) def _trace_(self, *args)
This dispatcher supports wrapping all operations in exception handlers, and all the necessary delegation to the policy.
This base class supports the printing of "unexpected" exceptions. Note, however, that exactly where the output of print goes may not be useful! A derived class may provide additional semantics for this.
Default behaviour is to print the exception.
Copyright © Greg Stein and Mark Hammond
All Rights Reserved
Comments to author: dev@null
Generated: Sun Apr 20 1997