Class ServerStanzaError

  • All Implemented Interfaces:
    LanguageElement

    public final class ServerStanzaError
    extends StanzaError
    A stanza error explicitly bound to the jabber:server namespace. This class has a @XmlRootElement annotation, so that it can be used outside the scope of a stanza, e.g. in XEP-0220: Server Dialback.
    • Method Detail

      • from

        public static ServerStanzaError from​(StanzaError e)
        Creates a stanza error in the jabber:server namespace from an unqualified stanza error.
        Parameters:
        e - The stanza error.
        Returns:
        The stanza error in the jabber:server namespace.