U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Sat Apr 25 23:37:18 GMT+2 2026

Total time taken to generate the page: 0.00506 seconds