return true;
}
public ResponseStanzaContainer execute(Stanza anyStanza, ServerRuntimeContext serverRuntimeContext,
boolean isOutboundStanza, SessionContext sessionContext, SessionStateHolder sessionStateHolder) {
XMPPCoreStanza stanza = XMPPCoreStanza.getWrapper(anyStanza);
if (stanza == null)
throw new IllegalArgumentException("can only handle core XMPP stanzas (iq, message, presence)");
// type="error" is common to all stanza, check here some prerequisites
Attribute typeAttribute = stanza.getAttribute("type");
XMPPCoreStanza xmppCoreStanza = XMPPCoreStanza.getWrapper(stanza);
if (xmppCoreStanza != null && typeAttribute != null) {
String errorDescription = null;
String type = typeAttribute.getValue();
if (IQStanzaType.ERROR.value().equals(type)) {
// assure, result contains zero or one element