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:
Serializable
- Enclosing class:
- XMPPException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jivesoftware.smack.XMPPException
XMPPException.FailedNonzaException, XMPPException.StreamErrorException, XMPPException.XMPPErrorException
-
Constructor Summary
ConstructorsConstructorDescriptionStreamErrorException
(StreamError streamError) Creates a new XMPPException with the stream error that was the root case of the exception. -
Method Summary
Modifier and TypeMethodDescriptionReturns the StreamError associated with this exception.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
StreamErrorException
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.
-