38394041424344
public void startHandling(Attributes attr) { } public Extension build() { return new XMPPErrorTag(getName()); }
606162636465666768
public void addExtension(Extension extension) { if(extension instanceof XMPPErrorTag) { XMPPErrorTag tag = (XMPPErrorTag)extension; if(!"text".equals(tag.getError())) this.extension = tag; } }
4647484950515253
// clearCurrentChars(); // } public Extension build() { if(!getName().equals("si"))return new XMPPErrorTag(getName(),"http://jabber.org/protocol/si"); return new IQSi(id,profile,mimeType,form,siprofile); }
172173174175176177178179
} private void sendError() { XMPPError error = new XMPPError("cancel",404); error.addError(new XMPPErrorTag("item-not-found")); backend.send(new InfoQuery(iq.getFrom(),iq.getID(),error)); }
6768697071727374
return message; } private static XMPPError createError(String errorMessage) { XMPPError error = new XMPPError("cancel",404); error.addError(new XMPPErrorTag(errorMessage,NAMESPACE)); return error; }
138139140141142143144145146147148
Log.xmlReceivedError("ibb stream init from unknown"); } else { XMPPError e = new XMPPError("cancel",501); e.addError(new XMPPErrorTag("feature-not-implemented")); backend.send(new InfoQuery(iq.getFrom(),iq.getID(),e)); } } if(isClose()) {