Issue Details (XML | Word | Printable)

Key: LOGCXX-33
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
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

log4cxx::Exception is not derived from std::exception

Created: 25/Oct/04 04:57 AM   Updated: 26/Oct/04 10:05 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: 26/Oct/04 10:05 PM


 Description  « Hide
Raised by Tommi Mäkitalo in http://nagoya.apache.org/eyebrowse/ReadMsg?listName=log4cxx-dev@logging.apache.org&msgNo=313 with follow up discussion in thread.

Boost guidelines on exceptions: http://www.boost.org/more/error_handling.html

I've reworked the exceptions so they derive from std::exception and getMessage() just repackages the value returned by std::exception::what. Added new exceptions classes that override std::exception::what() for exceptions with fixed messages. Exceptions with variable messages were either simplified to return static messages or had getMessage overriden to generate equivalent message on request. PlatformSocketException and MissingBraceException are instances of that latter. Also changed use of non-threadsafe stderror to strerror_r in SocketException.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.