Class XMPPException.StreamErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jivesoftware.smack.XMPPException
org.jivesoftware.smack.XMPPException.StreamErrorException
All Implemented Interfaces:
Serializable
Enclosing class:
XMPPException

See Also:
  • Constructor Details

    • 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 Details

    • 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.