Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.packet |
XML stanzas and extension elements that are part of the XMPP protocol.
|
org.jivesoftware.smack.sm.packet |
Plain stream elements for XEP-0198: Stream Management.
|
Modifier and Type | Method and Description |
---|---|
StanzaError.Condition |
XMPPException.FailedNonzaException.getCondition() |
Constructor and Description |
---|
FailedNonzaException(Nonza nonza,
StanzaError.Condition condition) |
Modifier and Type | Method and Description |
---|---|
static StanzaError.Condition |
StanzaError.Condition.fromString(String string) |
StanzaError.Condition |
StanzaError.getCondition()
Returns the error condition.
|
static StanzaError.Condition |
StanzaError.Condition.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StanzaError.Condition[] |
StanzaError.Condition.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ErrorIQ |
IQ.createErrorResponse(IQ request,
StanzaError.Condition condition) |
static StanzaError.Builder |
StanzaError.from(StanzaError.Condition condition,
String descriptiveText) |
static StanzaError.Builder |
StanzaError.getBuilder(StanzaError.Condition condition) |
StanzaError.Builder |
StanzaError.Builder.setCondition(StanzaError.Condition condition) |
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.
|
Modifier and Type | Method and Description |
---|---|
StanzaError.Condition |
StreamManagement.Failed.getStanzaErrorCondition() |
Constructor and Description |
---|
Failed(StanzaError.Condition condition,
List<StanzaErrorTextElement> textElements) |