Package | Description |
---|---|
org.jivesoftware.smack |
Core classes of the Smack API.
|
org.jivesoftware.smack.packet |
XML packets that are part of the XMPP protocol.
|
org.jivesoftware.smack.util |
Utility classes.
|
org.jivesoftware.smackx.commands |
Modifier and Type | Method and Description |
---|---|
XMPPError |
XMPPException.XMPPErrorException.getXMPPError()
Returns the XMPPError associated with this exception, or null if there isn't
one.
|
Constructor and Description |
---|
XMPPErrorException(String message,
XMPPError error)
Creates a new XMPPException with a description of the exception and the XMPPException
that was the root cause of the exception.
|
XMPPErrorException(String message,
XMPPError error,
Throwable wrappedThrowable)
Creates a new XMPPException with a description of the exception, an XMPPError, and the
Throwable that was the root cause of the exception.
|
XMPPErrorException(XMPPError error)
Creates a new XMPPException with the XMPPError that was the root case of the exception.
|
Modifier and Type | Method and Description |
---|---|
static XMPPError |
XMPPError.from(XMPPError.Condition condition,
String descriptiveText) |
XMPPError |
Stanza.getError()
Returns the error associated with this packet, or null if there are
no errors.
|
XMPPError |
Packet.getError()
Deprecated.
Returns the error associated with this packet, or null if there are
no errors.
|
Modifier and Type | Method and Description |
---|---|
static ErrorIQ |
IQ.createErrorResponse(IQ request,
XMPPError error)
|
void |
Stanza.setError(XMPPError error)
Sets the error for this packet.
|
void |
Packet.setError(XMPPError error)
Deprecated.
Sets the error for this packet.
|
Constructor and Description |
---|
ErrorIQ(XMPPError xmppError)
Constructs a new error IQ.
|
Modifier and Type | Method and Description |
---|---|
static XMPPError |
PacketParserUtils.parseError(org.xmlpull.v1.XmlPullParser parser)
Parses error sub-packets.
|
Modifier and Type | Method and Description |
---|---|
static AdHocCommand.SpecificErrorCondition |
AdHocCommand.getSpecificErrorCondition(XMPPError error)
Returns the specific condition of the
error or null if the
error doesn't have any. |