Class XMPPException.XMPPErrorException

    • Constructor Detail

      • XMPPErrorException

        public XMPPErrorException​(Stanza stanza,
                                  StanzaError error)
        Creates a new XMPPErrorException with the XMPPError that was the root case of the exception.
        Parameters:
        stanza - stanza that contained the exception.
        error - the root cause of the exception.
      • XMPPErrorException

        public XMPPErrorException​(Stanza stanza,
                                  StanzaError error,
                                  Stanza request)
        Creates a new XMPPErrorException with the XMPPError that was the root case of the exception.
        Parameters:
        request - the request which triggered the error.
        stanza - stanza that contained the exception.
        error - the root cause of the exception.
        Since:
        4.3.0