InstantMessengerAdaptor.log.debugStackTrace(e);
InstantMessengerAdaptor.log.debug("Failed to connect watcher to provider.", e);
  public void connect() {    _instantMessenger.addMessageListener(this);    try {      _instantMessenger.connect();    }    catch (Throwable e) {      InstantMessengerAdaptor.log.debugStackTrace(e);    }    if (_watcherFactory != null) {      _watcherInstantMessenger = _watcherFactory.createInstantMessenger(_watcherScreenName, _watcherPassword);      try {        _watcherInstantMessenger.connect();      }      catch (Throwable e) {        InstantMessengerAdaptor.log.debugStackTrace(e);      }      _watcherTester = new IMConnectionTester(_watcherInstantMessenger, _instantMessenger, 60000, 30000);      _watcherThread = new Thread(_watcherTester);      _watcherThread.start();      _watchedTester = new IMConnectionTester(_instantMessenger, _watcherInstantMessenger, 60000, 30000);      _watchedThread = new Thread(_watchedTester);      _watchedThread.start();    }    _running = true;    Thread conversationExpiration = new Thread(new ConversationExpirationRunnable());    conversationExpiration.start();  }