docs: static synchronized void connectionClosedOnError(EnhancedDebugger debugger, Exception e) {
          int index = getInstance().tabbedPane.indexOfComponent(debugger.tabbedPane);
          getInstance().tabbedPane.setToolTipTextAt(
                  index,
                  "XMPPConnection closed due to the exception: " + e.getMessage());
          getInstance().tabbedPane.setIconAt(
                  index,
                  connectionClosedOnErrorIcon);
      }