Package | Description |
---|---|
org.jivesoftware.smack.packet |
XML stanzas and extension elements that are part of the XMPP protocol.
|
Modifier and Type | Method and Description |
---|---|
static StanzaError.Type |
StanzaError.Type.fromString(String string) |
StanzaError.Type |
StanzaError.getType()
Returns the error type.
|
static StanzaError.Type |
StanzaError.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StanzaError.Type[] |
StanzaError.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
StanzaError.Builder |
StanzaError.Builder.setType(StanzaError.Type type) |
Constructor and Description |
---|
StanzaError(StanzaError.Condition condition,
String conditionText,
String errorGenerator,
StanzaError.Type type,
Map<String,String> descriptiveTexts,
List<ExtensionElement> extensions,
Stanza stanza)
Creates a new error with the specified type, condition and message.
|