|
JSJaC | |||||||
PREV NEXT | FRAMES NO FRAMES |
No overview generated for 'JSJaCError.js'
/** * an error packet for internal use * @private * @constructor */ function JSJaCError(code,type,condition) { var xmldoc = XmlDocument.create("error","jsjac"); xmldoc.documentElement.setAttribute('code',code); xmldoc.documentElement.setAttribute('type',type); if (condition) xmldoc.documentElement.appendChild(xmldoc.createElement(condition)). setAttribute('xmlns','urn:ietf:params:xml:ns:xmpp-stanzas'); return xmldoc.documentElement; }
|
JSJaC | |||||||
PREV NEXT | FRAMES NO FRAMES |