Issue Details (XML | Word | Printable)

Key: LOGCXX-31
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Curt Arnold
Reporter: Curt Arnold
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4cxx

Missing const qualifiers, Exception::getMessage() in particular.

Created: 22/Oct/04 02:42 PM   Updated: 22/Oct/04 09:41 PM
Return to search
Component/s: None
Affects Version/s: 0.9.7
Fix Version/s: 0.10.0

Time Tracking:
Not Specified

Resolution Date: 22/Oct/04 09:41 PM


 Description  « Hide
Conway Allen reported that Exception::getMessage() should be declared const in http://nagoya.apache.org/eyebrowse/ReadMsg?listName=log4cxx-user@logging.apache.org&msgNo=445

I've broadened this bug and may keep it open for a while to fix other missing const's.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Curt Arnold added a comment - 22/Oct/04 03:19 PM
Initial CVS commit: http://nagoya.apache.org/eyebrowse/ReadMsg?listName=log4cxx-dev@logging.apache.org&msgNo=323 (or nearby)

Changed getMessage to getMessage() const and changed message member variable to const which triggered some other good but unexpected changes (eliminating default constructors on IOException and duplicate message members in derived exceptions).