public class ErrorElement extends ElementWrapper
Modifier and Type | Method and Description |
---|---|
static ErrorElement |
extract(Element stanza) |
String |
getCode()
Return error code.
|
XMPPException.ErrorCondition |
getCondition()
Return error condition.
|
String |
getText()
Return human readable error description.
|
String |
getType()
Return error type.
|
addChild, equals, findChild, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getWrappedElement, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNS, toString
public static ErrorElement extract(Element stanza) throws XMLException
XMLException
public String getCode() throws XMLException
XMLException
public XMPPException.ErrorCondition getCondition() throws XMLException
XMLException
public String getText() throws XMLException
XMLException
public String getType() throws XMLException
XMLException
Copyright © 2006–2023 Tigase. All rights reserved.