| 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 | |
| org.jivesoftware.smackx.filetransfer | |
| org.jivesoftware.smackx.jingle |
| 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 |
|---|
XMPPException.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.
|
XMPPException.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.
|
XMPPException.XMPPErrorException(XMPPError error)
Creates a new XMPPException with the XMPPError that was the root case of the exception.
|
| Modifier and Type | Method and Description |
|---|---|
XMPPError |
Packet.getError()
Returns the error associated with this packet, or null if there are
no errors.
|
| Modifier and Type | Method and Description |
|---|---|
static IQ |
IQ.createErrorResponse(IQ request,
XMPPError error)
|
void |
Packet.setError(XMPPError error)
Sets the error for this packet.
|
| 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. |
| Modifier and Type | Method and Description |
|---|---|
IQ |
StreamNegotiator.createError(String from,
String to,
String packetID,
XMPPError xmppError) |
| Modifier and Type | Method and Description |
|---|---|
static IQ |
JingleSession.createError(String ID,
String to,
String from,
int errCode,
XMPPError error)
A convience method to create an error packet.
|