public final class StreamError extends Object implements ServerStreamElement
<stream:error/> element.
This class is immutable.
| Constructor and Description |
|---|
StreamError(Condition condition) |
StreamError(Condition condition,
Text text,
Object extension) |
| Modifier and Type | Method and Description |
|---|---|
Condition |
getCondition()
Gets the defined stream error condition.
|
Object |
getExtension()
Gets the application specific condition, if any.
|
String |
getLanguage()
Gets the language of the error text.
|
String |
getText()
Gets the optional error text.
|
String |
toString() |
public StreamError(Condition condition)
public final String getLanguage()
public final String getText()
public final Object getExtension()
public final Condition getCondition()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.