KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Consider a C# GUI application which uses a FileStream to read a file, chosen by the user through an "Open File" dialog. In case the read fails with one of the exceptions , what is the correct way to report the failure to the user, in an user-friendly manner? Should I invent my own message for each of those exceptions, or is there a way of obtaining a localized, user-friendly message that I could present verbatim to the user? Edit I'm asking whether .NET itself is able to provide me with a descriptive string that I can present (and which would be consistent with other .NET programs). I know that I can roll up my own, but I'd like to avoid that if there's a standard alternative .
Tags (comma-separated)
Save Edits
Cancel