You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org> on 2005/02/09 13:30:11 UTC

[jira] Commented: (AXISCPP-216) Improve Fault handling

     [ http://issues.apache.org/jira/browse/AXISCPP-216?page=comments#action_58817 ]
     
Samisa Abeysinghe commented on AXISCPP-216:
-------------------------------------------

I have noticed numerous memory leaks in relation to Falut handling and also with the current exception model in general.
Patching the current exception model to prevent leaks is possible but requires a considerable effort.
I think it is better to review the exception model and come up with a cleaner Exception class hierarchy with cleaner memory model in mind than patching the current model. (with copy constructor/ deep copies etc.)

Also, in the code, when we are dealing with exceptions, both in throwing and catching, we have to follow some best practices such as deallocate already allocated memory before throw etc.

 

> Improve Fault handling
> ----------------------
>
>          Key: AXISCPP-216
>          URL: http://issues.apache.org/jira/browse/AXISCPP-216
>      Project: Axis-C++
>         Type: Improvement
>   Components: Basic Architecture
>     Versions: 1.3 Final
>     Reporter: John Hawkins
>     Assignee: Mark Whitlock
>      Fix For: 1.4 Final

>
> Fault handling was implemented such that any faults came back as exception. There are however, still issues with this method and we can restructure the objects to improve the support. There are threads on the mailing list discussing this -> http://marc.theaimsgroup.com/?l=axis-c-dev&m=109639024228932&w=2 and http://marc.theaimsgroup.com/?l=axis-c-dev&m=109774330012038&w=2.
> I think we can safely say we have not agreed on a way forward yet !

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira