Package org.jivesoftware.smack
Class XMPPException.StreamErrorException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.jivesoftware.smack.XMPPException
-
- org.jivesoftware.smack.XMPPException.StreamErrorException
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- XMPPException
public static class XMPPException.StreamErrorException extends XMPPException
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jivesoftware.smack.XMPPException
XMPPException.FailedNonzaException, XMPPException.StreamErrorException, XMPPException.XMPPErrorException
-
-
Constructor Summary
Constructors Constructor Description StreamErrorException(StreamError streamError)
Creates a new XMPPException with the stream error that was the root case of the exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamError
getStreamError()
Returns the StreamError associated with this exception.
-
-
-
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.
-
-