batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BATCHEE-4) Spec change on skip/retry exception matching coming in 1.1
Date Fri, 29 Nov 2013 17:39:35 GMT

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

Romain Manni-Bucau commented on BATCHEE-4:
------------------------------------------

Yes, I debugged it quickly and saw only exact matchings.

> Spec change on skip/retry exception matching coming in 1.1
> ----------------------------------------------------------
>
>                 Key: BATCHEE-4
>                 URL: https://issues.apache.org/jira/browse/BATCHEE-4
>             Project: BatchEE
>          Issue Type: Bug
>            Reporter: Scott Kurz
>            Priority: Minor
>
> Again, I'm just assuming this hasn't been fixed without testing based on RI knowledge.
> As discussed here:
> https://java.net/bugzilla/show_bug.cgi?id=5403
> We decided that the spec was vague with respect to a case like:
> <retryable-exception-classes>
> 	<include class="...MyParentException"/>
> 	<include class="...MyGrandchildException"/>
> 	<exclude class="....MyChildException"/>
> </retryable-exception-classes>
> where MyGrandchildException extends MyChildException which extends MyParentException
> ====
> Informally, we agreed that the future direction would be this: 
> We decided to get rid of the RI behavior, which would exclude an instance of MyGrandchildException
(under the rule that matching any 'exclude' results in exclusion).  Instead we plan to go
with a rule that says you go with the matching include/exclude closest to you in the exception
hierarchy, in which case MyGrandchildException  would be included.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message