public final class StreamErrorException extends XmppException
This class is immutable.
| Constructor and Description |
|---|
StreamErrorException(StreamError streamError)
Constructs a stanza exception.
|
| Modifier and Type | Method and Description |
|---|---|
Condition |
getCondition()
Gets the defined error condition.
|
StreamError |
getError()
Gets the stream error.
|
StreamError |
getStreamError()
Deprecated.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic StreamErrorException(StreamError streamError)
streamError - The underlying stream error.@Deprecated public final StreamError getStreamError()
public final StreamError getError()
public final Condition getCondition()
Condition.UNDEFINED_CONDITION is returned.
This is a shortcut for getError().getCondition().Copyright © 2014–2015 XMPP.rocks. All rights reserved.