batchee-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romain Manni-Bucau (JIRA)" <>
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


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:
>             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:
> 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

View raw message