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 "Duane Murphy (JIRA)" <ax...@ws.apache.org> on 2005/11/10 19:57:02 UTC

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

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


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

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
    [ 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


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

Posted by "nadir amra (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-869?page=all ]
     
nadir amra closed AXISCPP-869:
------------------------------

    Fix Version: 1.6 Alpha
     Resolution: Cannot Reproduce

> 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
>      Fix For: 1.6 Alpha

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