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 "nadir amra (JIRA)" <ax...@ws.apache.org> on 2005/12/27 03:12:31 UTC

[jira] Commented: (AXISCPP-869) Incorrect function signature in exception classes.

    [ http://issues.apache.org/jira/browse/AXISCPP-869?page=comments#action_12361250 ] 

nadir amra commented on AXISCPP-869:
------------------------------------

Can we close this issue?  As far as I can tell, everything inherits from AxisException.hpp, which has the correct prototype for what(). 

> Incorrect function signature in exception classes.
> --------------------------------------------------
>
>          Key: AXISCPP-869
>          URL: http://issues.apache.org/jira/browse/AXISCPP-869
>      Project: Axis-C++
>         Type: Improvement
>   Components: Basic Architecture
>     Versions: 1.5 Final
>  Environment: All
>     Reporter: Duane Murphy
>     Priority: Trivial

>
> The what() function signature on all exception classes should include a const qualifier. The standard exception class includes this signature. Not including this correct signature creates a second, potentially non-virtual function (non-const what()) that hides the correct virtual const what().

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