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.smackx.commands |
Smacks implementation of XEP-0050: Ad-Hoc Commands.
|
Modifier and Type | Method and Description |
---|---|
StanzaError |
XMPPException.XMPPErrorException.getStanzaError()
Returns the stanza error extension element associated with this exception.
|
StanzaError |
XMPPException.XMPPErrorException.getXMPPError()
Deprecated.
use
XMPPException.XMPPErrorException.getStanzaError() instead. |
Constructor and Description |
---|
XMPPErrorException(Stanza stanza,
StanzaError error)
Creates a new XMPPErrorException with the XMPPError that was the root case of the exception.
|
XMPPErrorException(Stanza stanza,
StanzaError error,
Stanza request)
Creates a new XMPPErrorException with the XMPPError that was the root case of the exception.
|
Modifier and Type | Method and Description |
---|---|
StanzaError |
StanzaError.Builder.build() |
StanzaError |
Packet.getError()
Deprecated.
Returns the error associated with this packet, or null if there are
no errors.
|
StanzaError |
Stanza.getError()
Returns the error associated with this packet, or null if there are
no errors.
|
Modifier and Type | Method and Description |
---|---|
StanzaError.Builder |
StanzaError.Builder.copyFrom(StanzaError xmppError) |
static ErrorIQ |
IQ.createErrorResponse(IQ request,
StanzaError error)
|
static StanzaError.Builder |
StanzaError.getBuilder(StanzaError xmppError) |
void |
Packet.setError(StanzaError error)
Deprecated.
Sets the error for this packet.
|
void |
Stanza.setError(StanzaError error)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AdHocCommand.SpecificErrorCondition |
AdHocCommand.getSpecificErrorCondition(StanzaError error)
Returns the specific condition of the
error or null if the
error doesn't have any. |