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 XMPPError.Type |
XMPPError.Type.fromString(java.lang.String string) |
XMPPError.Type |
XMPPError.getType()
Returns the error type.
|
static XMPPError.Type |
XMPPError.Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static XMPPError.Type[] |
XMPPError.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
XMPPError.Builder |
XMPPError.Builder.setType(XMPPError.Type type) |
Constructor and Description |
---|
XMPPError(XMPPError.Condition condition,
java.lang.String conditionText,
java.lang.String errorGenerator,
XMPPError.Type type,
java.util.Map<java.lang.String,java.lang.String> descriptiveTexts,
java.util.List<ExtensionElement> extensions)
Deprecated.
use
XMPPError.Builder instead. |
XMPPError(XMPPError.Condition condition,
java.lang.String conditionText,
java.lang.String errorGenerator,
XMPPError.Type type,
java.util.Map<java.lang.String,java.lang.String> descriptiveTexts,
java.util.List<ExtensionElement> extensions,
Stanza stanza)
Creates a new error with the specified type, condition and message.
|