Timeline for How should I provide additional information about an exception?
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 20 at 18:46 | history | protected | gnat | ||
Jan 19 at 11:47 | answer | added | Daniel Lidström | timeline score: 0 | |
Feb 15, 2019 at 11:01 | vote | accept | t3chb0t | ||
Dec 2, 2016 at 15:46 | comment | added | Mike | I have been waiting over a decade to see a .NET application actually provide information in the Data dictionary. I am still waiting . . . I guess nobody logs it, so no one expects it to get read, so nobody writes in it? | |
Dec 2, 2016 at 15:06 | answer | added | krillgar | timeline score: -1 | |
Nov 24, 2016 at 12:16 | answer | added | Phill W. | timeline score: 4 | |
Nov 23, 2016 at 21:38 | answer | added | Martin Ba | timeline score: 7 | |
Nov 23, 2016 at 21:21 | comment | added | Martin Ba |
Data looks nice to me. First time I hear about it. (As an aside: softwareengineering.stackexchange.com/a/278958/6559)
|
|
Nov 21, 2016 at 12:50 | comment | added | RubberDuck | What's wrong with custom exceptions? Done properly, they're part of your domain language and help achieve abstraction away from the implementation details. | |
Nov 20, 2016 at 5:57 | comment | added | candied_orange | @t3chb0t I think you've answered your own question here. Consider moving 1, 2, & 3 into an answer and adjusting your question so it's not asking me to pick a style based on my opinion. | |
Nov 20, 2016 at 3:49 | history | tweeted | twitter.com/StackSoftEng/status/800184277145096192 | ||
Nov 19, 2016 at 21:55 | comment | added | t3chb0t | @JohnKouraklis I've just made it up for demonstration purposes. | |
Nov 19, 2016 at 21:53 | comment | added | t3chb0t | @JohnKouraklis this is not what the question is about ;-) It's just an extremely simple example to demonstrate what I mean by additional information. If I posted here an entire framework where mutliple methods can throw exceptions and mutliple levels of context information should be provided no one probably would read this and I had a really hard time to explain it. | |
Nov 19, 2016 at 21:48 | comment | added | John Kouraklis | Not familiar with exceptions in C# but I would normally expect the Person instance still to be valid when the exception is thrown. Have you tried that? | |
Nov 19, 2016 at 20:53 | history | asked | t3chb0t | CC BY-SA 3.0 |