This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 1176 - Workunit inside an exception handler
Summary: Workunit inside an exception handler
Status: CLOSED FIXED
Alias: None
Product: WS Choreography
Classification: Unclassified
Component: Last Call Comment: Confirmed Closed (show other bugs)
Version: unspecified
Hardware: PC Windows 2000
: P2 normal
Target Milestone: --
Assignee: Martin Chapman
QA Contact: WS Choreography mailing-list
URL: http://lists.w3.org/Archives/Public/p...
Whiteboard:
Keywords:
: 1178 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-21 14:45 UTC by Greg Ritzinger
Modified: 2005-07-26 19:22 UTC (History)
0 users

See Also:


Attachments

Description Greg Ritzinger 2005-03-21 14:45:10 UTC
This issue is related to issue 1102, in that it questions the purpose of having
a workunit inside an exception handler, in the same way that 1102 questioned
having the workunit in a finalizerBlock.

If we compare the semantics of a workunit within the exception handler to a
general workunit, we find that they are essentially different constructs. The
exception workunit has no repetition or blocking behavior, and has extreme
restrictions on what can be placed in its guard condition (as far as I can tell
it is only possible to check the exception type).

So why is it called a workunit?

My proposal is that rather than trying to reuse an existing activity (workunit),
but modify its semantics significantly, would it not be better to have a new
construct that is specific to the needs of the exception handler.

There are two possible solutions:

1) move the declaration of exception type onto the exception block, and allow
multiple exception blocks to be defined.

<choreo ...>
   <exceptionBlock name=".." exceptionType="...." >
       <!-- some activity -->
   </exceptionBlock>
   <exceptionBlock name=".." >   <!-- default exception handler -->
       <!-- some activity -->
   </exceptionBlock>
</choreo>


2) have a new construct

<choreo ...>
    <exceptionBlock ..>
         <exceptionHandler type="..." >
              <!-- some activity -->
         </exceptionHandler>
         <exceptionHandler>        <!-- default exception handler -->
              <!-- some activity -->
         </exceptionHandler>
    </exceptionBlock>
</choreo>
Comment 1 Martin Chapman 2005-07-14 16:46:16 UTC
changed to a last call commment
Comment 2 Martin Chapman 2005-07-14 16:47:51 UTC
*** Bug 1178 has been marked as a duplicate of this bug. ***
Comment 3 Martin Chapman 2005-07-20 14:22:30 UTC
Agreed at meeting 19 july 2005 to close wontfix:

http://lists.w3.org/Archives/Member/member-ws-chor/2005Jul/att-
0009/minutes_20050719_-_0.txt