#10010 closed Feature Requests (wontfix)
Boost 1.55 does not support setting language of description in exception
Reported by: | anonymous | Owned by: | Emil Dotchevski |
---|---|---|---|
Milestone: | To Be Determined | Component: | exception |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Language in exception | Cc: |
Description (last modified by )
You should not attempt to format a user-friendly message at the point of the throw. Instead, store in the exception object any and all information that is needed to format a user-friendly message, then use that information at the point of the catch to format the message.
Change History (2)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
comment:2 by , 8 years ago
Note:
See TracTickets
for help on using tickets.
Replying to anonymous:
Could you help me? I need to show error message on English language on every Windows (Windows can have Russian locale, German locale, etc. In this situation, language of message will be like locale). You use FormatMessage and set using default locale (user' locale). Can I change this parameter in Format message? Possibly I don't know how to do it :(