.. wxPython Phoenix documentation This file was generated by Phoenix's sphinx generator and associated tools, do not edit by hand. Copyright: (c) 2011-2020 by Total Control Software License: wxWindows License .. include:: headings.inc .. currentmodule:: wx.lib.pubsub.core.listener .. highlight:: python .. _wx.lib.pubsub.core.listener.IListenerExcHandler: ========================================================================================================================================== |phoenix_title| **wx.lib.pubsub.core.listener.IListenerExcHandler** ========================================================================================================================================== Interface class base class for any handler given to pub.setListenerExcHandler() Such handler is called whenever a listener raises an exception during a pub.sendMessage(). Example:: from pubsub import pub class MyHandler(pub.IListenerExcHandler): def __call__(self, listenerID, topicObj): ... do something with listenerID ... pub.setListenerExcHandler(MyHandler()) | |class_hierarchy| Class Hierarchy ================================= .. raw:: html
Inheritance diagram for class IListenerExcHandler:
| |api| Class API =============== .. class:: IListenerExcHandler Interface class base class for any handler given to pub.setListenerExcHandler() Such handler is called whenever a listener raises an exception during a pub.sendMessage(). Example:: from pubsub import pub class MyHandler(pub.IListenerExcHandler): def __call__(self, listenerID, topicObj): ... do something with listenerID ... pub.setListenerExcHandler(MyHandler())