public class ErrorIQ extends SimpleIQ
IQ.IQChildElementXmlStringBuilder, IQ.Type| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT |
IQ_ELEMENT, QUERY_ELEMENTDEFAULT_LANGUAGE, ITEM, language, TEXT| Constructor and Description |
|---|
ErrorIQ(StanzaError.Builder xmppErrorBuilder)
Constructs a new error IQ.
|
getIQChildElementBuildercreateErrorResponse, createErrorResponse, createErrorResponse, createResultIQ, getChildElementName, getChildElementNamespace, getChildElementXML, getChildElementXML, getType, initializeAsResultFor, initialzeAsResultFor, isRequestIQ, setType, toString, toXMLaddCommonAttributes, addExtension, addExtensions, appendErrorIfExists, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensions, getFrom, getLanguage, getPacketID, getStanzaId, getTo, hasExtension, hasExtension, hasStanzaIdSet, logCommonAttributes, overrideExtension, removeExtension, removeExtension, setError, setError, setFrom, setFrom, setLanguage, setPacketID, setStanzaId, setStanzaId, setTo, setTopublic static final String ELEMENT
public ErrorIQ(StanzaError.Builder xmppErrorBuilder)
According to RFC 6120 ยง 8.3.1 "4. An error stanza MUST contain an <error/> child element.", so the xmppError argument is mandatory.
xmppErrorBuilder - the XMPPError builder (required).