Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Base Exception class behavior change
Re: Base Exception class behavior change [message #42890 is a reply to message #42886] Sun, 13 April 2014 19:47 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
hans wrote on Sun, 13 April 2014 11:37
After moving the "Exc" exception class to value.h
the default ctor for this class was changed.

Before it had set the String to the last error code message, now it will be left empty.

I do not know if this exposes a bug or was intentionally, but perhaps someone can explain the rationale to do so.

Also I really would love to see the "Exc" class in another header Razz

THX, Hans


OK, moving Exc to Defs.h.

Setting OS last error in default constructor was forgotten sin of long past, that is why it was removed.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AMap's FindAdd, FindPut API changed
Next Topic: ThrowValueTypeError small bug, and suggestion for removing it
Goto Forum:
  


Current Time: Sun Aug 24 07:55:40 CEST 2025

Total time taken to generate the page: 0.04236 seconds