Uses of Class
org.jivesoftware.smack.packet.StanzaError
Packages that use StanzaError
Package
Description
Core classes of the Smack API.
Stanzas and extension elements for XMPP stream compression (XEP-138).
XML stanzas and extension elements that are part of the XMPP protocol.
Utility classes.
Smacks implementation of XEP-0050: Ad-Hoc Commands.
-
Uses of StanzaError in org.jivesoftware.smack
Methods in org.jivesoftware.smack that return StanzaErrorModifier and TypeMethodDescriptionXMPPException.XMPPErrorException.getStanzaError()
Returns the stanza error extension element associated with this exception.Constructors in org.jivesoftware.smack with parameters of type StanzaErrorModifierConstructorDescriptionXMPPErrorException
(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. -
Uses of StanzaError in org.jivesoftware.smack.compress.packet
Methods in org.jivesoftware.smack.compress.packet that return StanzaErrorConstructors in org.jivesoftware.smack.compress.packet with parameters of type StanzaErrorModifierConstructorDescriptionFailure
(Failure.CompressFailureError compressFailureError, StanzaError stanzaError) -
Uses of StanzaError in org.jivesoftware.smack.packet
Methods in org.jivesoftware.smack.packet that return StanzaErrorModifier and TypeMethodDescriptionStanzaError.Builder.build()
final StanzaError
Stanza.getError()
final StanzaError
StanzaBuilder.getError()
StanzaView.getError()
Returns the error associated with this packet, ornull
if there are no errors.Methods in org.jivesoftware.smack.packet with parameters of type StanzaErrorModifier and TypeMethodDescriptionstatic ErrorIQ.Builder
ErrorIQ.builder
(StanzaError error) static ErrorIQ.Builder
ErrorIQ.builder
(StanzaError error, IqData iqData) StanzaError.Builder.copyFrom
(StanzaError xmppError) static ErrorIQ
ErrorIQ.createErrorResponse
(IQ request, StanzaError error) static ErrorIQ
IQ.createErrorResponse
(IQ request, StanzaError error) static StanzaError.Builder
StanzaError.getBuilder
(StanzaError xmppError) void
Stanza.setError
(StanzaError stanzaError) Sets the error for this stanza.final B
StanzaBuilder.setError
(StanzaError stanzaError) Sets the error for this stanza. -
Uses of StanzaError in org.jivesoftware.smack.util
Methods in org.jivesoftware.smack.util that return StanzaErrorModifier and TypeMethodDescriptionstatic StanzaError
PacketParserUtils.parseError
(XmlPullParser parser) static StanzaError
PacketParserUtils.parseError
(XmlPullParser parser, XmlEnvironment outerXmlEnvironment) Parses error sub-packets. -
Uses of StanzaError in org.jivesoftware.smackx.commands
Methods in org.jivesoftware.smackx.commands with parameters of type StanzaErrorModifier and TypeMethodDescriptionstatic SpecificErrorCondition
AbstractAdHocCommand.getSpecificErrorCondition
(StanzaError error) Returns the specific condition of theerror
ornull
if the error doesn't have any.