.. wxPython Phoenix documentation

   This file was generated by Phoenix's sphinx generator and associated
   tools, do not edit by hand.

   Copyright: (c) 2011-2025 by Total Control Software
   License:   wxWindows License

.. include:: headings.inc

.. currentmodule:: wx.lib.pubsub.core.topicexc

.. highlight:: python



.. _wx.lib.pubsub.core.topicexc.ExcHandlerError:

==========================================================================================================================================
|phoenix_title|  **wx.lib.pubsub.core.topicexc.ExcHandlerError**
==========================================================================================================================================

Raised when a listener exception handler (see pub.setListenerExcHandler())
raises an exception. The original exception is contained.



|

|class_hierarchy| Class Hierarchy
=================================

.. raw:: html

   <div class="collabsible-wrapper">
      <input id="collapsible-inheritance" class="collapsible-checkbox" type="checkbox">
      <label for="collapsible-inheritance" tabindex="0" title="Show inheritance diagram" class="collapsible-label">Inheritance diagram for class <strong>ExcHandlerError</strong>:</label>
      <div class="collapsible-content">
         <p class="graphviz">
            <center><img src="_static/images/inheritance/wx.lib.pubsub.core.topicexc.ExcHandlerError_inheritance.svg" alt="Inheritance diagram of ExcHandlerError" usemap="#dummy" class="inheritance invert-in-dark-mode"/></center>
            <map id="dummy" name="dummy"> <area shape="rect" id="node1" href="wx.lib.pubsub.core.topicexc.ExcHandlerError.html" title="Raised when a listener exception handler (see pub.setListenerExcHandler())" alt="" coords="5,236,353,265"/> </map> 
         </p>
      </div>
   </div>
   <script type="text/javascript" src="_static/inheritancetoggle.js"></script>



|


|super_classes| Known Superclasses
==================================

:class:`RuntimeError`

|


|method_summary| Methods Summary
================================

================================================================================ ================================================================================
:meth:`~wx.lib.pubsub.core.topicexc.ExcHandlerError.__init__`                    The badExcListenerID is the name of the listener that raised
================================================================================ ================================================================================


|


|api| Class API
===============


.. class:: ExcHandlerError(RuntimeError)

   Raised when a listener exception handler (see pub.setListenerExcHandler())
   raises an exception. The original exception is contained.

   .. method:: __init__(self, badExcListenerID, topicObj, origExc=None)

      The badExcListenerID is the name of the listener that raised
      the original exception that handler was attempting to handle.
      The topicObj is the Topic object for the topic of the
      sendMessage that had an exception raised. 
      The origExc is currently not used. 


