Package | Description |
---|---|
rocks.xmpp.core.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
rocks.xmpp.core.stanza.model.errors |
Provides XML schema implementations of the Stanza Error Namespace.
|
Modifier and Type | Method and Description |
---|---|
StanzaError.Type |
StanzaError.getType()
Gets the error type, either ‘auth’, ‘cancel’, ‘continue’, ‘modify’ or ‘wait’.
|
static StanzaError.Type |
StanzaError.Type.valueOf(java.lang.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.
|
Constructor and Description |
---|
StanzaError(StanzaError.Type type,
Condition condition)
Creates an error with a given error type and a condition.
|
StanzaError(StanzaError.Type type,
Condition condition,
java.lang.String text)
Creates an error with a given error type and a condition.
|
StanzaError(StanzaError.Type type,
Condition condition,
java.lang.String text,
java.util.Locale language,
java.lang.Object extension,
Jid by)
Creates a stanza error with all possible values.
|
Modifier and Type | Method and Description |
---|---|
static StanzaError.Type |
Condition.getErrorTypeByCondition(Condition condition)
Gets the associated stanza error type for a condition.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.