MCPcopy Create free account
hub / github.com/annmuor/jnode / onError

Method onError

jnode-xmpp-module/src/org/jnode/xmpp/XMPPClient.java:101–110  ·  view source on GitHub ↗
(Exception e)

Source from the content-addressed store, hash-verified

99 }
100
101 private void onError(Exception e) {
102 synchronized (this) {
103 if (connection != null) {
104 connection.disconnect();
105 }
106 chatMap = new HashMap<>();
107 logger.l2("XMPP connection failed", e);
108 notify();
109 }
110 }
111
112 /**
113 * Очищаем старые чаты

Callers 2

runMethod · 0.95
processMessageMethod · 0.80

Calls 2

l2Method · 0.80
notifyMethod · 0.80

Tested by

no test coverage detected