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, toStringpublic static ErrorElement extract(Element stanza) throws XMLException
XMLExceptionpublic String getCode() throws XMLException
XMLExceptionpublic XMPPException.ErrorCondition getCondition() throws XMLException
XMLExceptionpublic String getText() throws XMLException
XMLExceptionpublic String getType() throws XMLException
XMLExceptionCopyright © 2006–2020 Tigase. All rights reserved.