You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Thilo Frotscher (JIRA)" <ji...@apache.org> on 2006/07/31 07:29:13 UTC

[jira] Created: (AXIS2-942) If handler throws an exception, inform all prior handlers in same flow

If handler throws an exception, inform all prior handlers in same flow
----------------------------------------------------------------------

                 Key: AXIS2-942
                 URL: http://issues.apache.org/jira/browse/AXIS2-942
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.0
            Reporter: Thilo Frotscher


If a handler throws an exception in the In-Flow, the flow is cancelled immediately. AxisEngine carries on with an operation-specific OutFaultFlow (if there already is an operation context) and then with the global out fault flow. Instead of just cancelling the in-flow, there should be a mechanism that informs prior handlers of the in-flow about the occurrence of the exception, so that they have a chance to undo their functionality. Axis 1.x had something like this (onFault method).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-942) If handler throws an exception, inform all prior handlers in same flow

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-942?page=comments#action_12424491 ] 
            
Deepal Jayasinghe commented on AXIS2-942:
-----------------------------------------

I like the idea , but we need to change Handler interface  to solve the issue. 
Are we in a position to change handler interface , if so I can fix the problem very easily.

Any suggestions .....


> If handler throws an exception, inform all prior handlers in same flow
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-942
>                 URL: http://issues.apache.org/jira/browse/AXIS2-942
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.0
>            Reporter: Thilo Frotscher
>
> If a handler throws an exception in the In-Flow, the flow is cancelled immediately. AxisEngine carries on with an operation-specific OutFaultFlow (if there already is an operation context) and then with the global out fault flow. Instead of just cancelling the in-flow, there should be a mechanism that informs prior handlers of the in-flow about the occurrence of the exception, so that they have a chance to undo their functionality. Axis 1.x had something like this (onFault method).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-942) If handler throws an exception, inform all prior handlers in same flow

Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-942?page=all ]

Deepal Jayasinghe reassigned AXIS2-942:
---------------------------------------

    Assignee: Deepal Jayasinghe

> If handler throws an exception, inform all prior handlers in same flow
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-942
>                 URL: http://issues.apache.org/jira/browse/AXIS2-942
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.0
>            Reporter: Thilo Frotscher
>         Assigned To: Deepal Jayasinghe
>
> If a handler throws an exception in the In-Flow, the flow is cancelled immediately. AxisEngine carries on with an operation-specific OutFaultFlow (if there already is an operation context) and then with the global out fault flow. Instead of just cancelling the in-flow, there should be a mechanism that informs prior handlers of the in-flow about the occurrence of the exception, so that they have a chance to undo their functionality. Axis 1.x had something like this (onFault method).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-942) If handler throws an exception, inform all prior handlers in same flow

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-942?page=all ]

Davanum Srinivas resolved AXIS2-942.
------------------------------------

    Resolution: Fixed

Resolved. Fixed in Trunk. *NOT* for 1.1 but later.

> If handler throws an exception, inform all prior handlers in same flow
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-942
>                 URL: http://issues.apache.org/jira/browse/AXIS2-942
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.0
>            Reporter: Thilo Frotscher
>         Assigned To: Deepal Jayasinghe
>
> If a handler throws an exception in the In-Flow, the flow is cancelled immediately. AxisEngine carries on with an operation-specific OutFaultFlow (if there already is an operation context) and then with the global out fault flow. Instead of just cancelling the in-flow, there should be a mechanism that informs prior handlers of the in-flow about the occurrence of the exception, so that they have a chance to undo their functionality. Axis 1.x had something like this (onFault method).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org