Error Event

This event is fired when the server sends a protocol error message.

Syntax

public class DefaultXmppEventListener implements XmppEventListener {
  ...
  public void error(XmppErrorEvent e) {}
  ...
}

public class XmppErrorEvent {
  public int errorCode;
  public String description;
}

Remarks

This is fired whenever there is a protocol error. ErrorCode will contain the error code string sent by the server. Description will contain the Xmpp class's interpretation of the code.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 Java Edition - Version 20.0 [Build 8307]