mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Fondermann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VYSPER-63) Unify error handling for pubsub
Date Mon, 22 Jun 2009 20:45:07 GMT

    [ https://issues.apache.org/jira/browse/VYSPER-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12722810#action_12722810

Bernd Fondermann commented on VYSPER-63:

I'd suggest to simply replace 
    return errorStanzaGenerator.generateNoSuchSubscriberErrorStanza(sender, receiver, iqStanzaID);
   return ServerErrorResponses.getInstance().getStanzaError(StanzaErrorCondition.ITEM_NOT_FOUND,
stanza, StanzaErrorType.CANCEL, null, null, null);
and so on.

note that pusub errors *are* stanza errors. they are bound to adhere to

if you don't want to add the whole IQ, but only the pubsub subelement from the original request,
then we'll find a way to do so.

where doesn't this fit?

> Unify error handling for pubsub
> -------------------------------
>                 Key: VYSPER-63
>                 URL: https://issues.apache.org/jira/browse/VYSPER-63
>             Project: VYSPER
>          Issue Type: Sub-task
>          Components: XEP0060 PubSub
>            Reporter: Michael Jakl
>            Assignee: Michael Jakl

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message