Class XMPPException.StreamErrorException

    • Constructor Detail

      • StreamErrorException

        public StreamErrorException​(StreamError streamError)
        Creates a new XMPPException with the stream error that was the root case of the exception. When a stream error is received from the server then the underlying connection will be closed by the server.
        Parameters:
        streamError - the root cause of the exception.
    • Method Detail

      • getStreamError

        public StreamError getStreamError()
        Returns the StreamError associated with this exception. The underlying TCP connection is closed by the server after sending the stream error to the client.
        Returns:
        the StreamError associated with this exception.