Class StanzaError

  • All Implemented Interfaces:
    Element, ExtensionElement, FullyQualifiedElement, NamedElement, XmlLangElement

    public class StanzaError
    extends AbstractError
    implements ExtensionElement
    Represents an XMPP error sub-packet. Typically, a server responds to a request that has problems by sending the stanza back and including an error packet. Each error has a type, error condition as well as as an optional text explanation. Typical errors are:
    XMPP Errors
    XMPP Error ConditionTypeRFC 6120 Section
    bad-requestMODIFY8.3.3.1
    conflictCANCEL8.3.3.2
    feature-not-implementedCANCEL8.3.3.3
    forbiddenAUTH8.3.3.4
    goneCANCEL8.3.3.5
    internal-server-errorWAIT8.3.3.6
    item-not-foundCANCEL8.3.3.7
    jid-malformedMODIFY8.3.3.8
    not-acceptableMODIFY8.3.3.9
    not-allowedCANCEL8.3.3.10
    not-authorizedAUTH8.3.3.11
    policy-violationMODIFY8.3.3.12
    recipient-unavailableWAIT8.3.3.13
    redirectMODIFY8.3.3.14
    registration-requiredAUTH8.3.3.15
    remote-server-not-foundCANCEL8.3.3.16
    remote-server-timeoutWAIT8.3.3.17
    resource-constraintWAIT8.3.3.18
    service-unavailableCANCEL8.3.3.19
    subscription-requiredAUTH8.3.3.20
    undefined-conditionMODIFY8.3.3.21
    unexpected-requestWAIT8.3.3.22
    See Also:
    RFC 6120 - 8.3.2 Syntax: The Syntax of XMPP error stanzas