incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertil Chapuis (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DROIDS-120) Better exception handling in SimpleTaskQueue - merge
Date Mon, 21 Feb 2011 17:51:38 GMT

    [ https://issues.apache.org/jira/browse/DROIDS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997490#comment-12997490
] 

Bertil Chapuis commented on DROIDS-120:
---------------------------------------

I agree. Loosing all the Links is not acceptable. However I thinks it's important to be consistent
with the way exceptions are handled. In my opinion it could make sense to attach the TaskExceptionHandler
with the Droid instead of the TaskMaster. This will introduce some minor changes to the api
but it will allows to handle each exceptions. I may provide a patch, let me know if you think
it's a good idea.

> Better exception handling in SimpleTaskQueue - merge
> ----------------------------------------------------
>
>                 Key: DROIDS-120
>                 URL: https://issues.apache.org/jira/browse/DROIDS-120
>             Project: Droids
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 0.0.1
>            Reporter: Eugen Paraschiv
>             Fix For: 0.0.1
>
>         Attachments: DROIDS-120_v2.patch
>
>
> In SimpleTaskQueue - merge, any exception in any of the individual tasks would end up
in closing down the entire process and loosing all the results in that particular collection.

> This should not be the case - when iterating over a (possibly large) collection, where
each result is relevant, an exception should be logged and the iteration should continue on
to the next element. 

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message