If (Successful) { throw new Exception(); }

December 24th, 2009

So, I was installing Visual Studio 2010 Ultimate Beta 2 on one of my machines the other day and the funniest thing happened.  After it successfully installed, I was prompted to send an error report.

error

Since when is a successful operation a problem?  Now, of course, I am assuming this is intentional and is transmitting information back to Microsoft to tell them that it was successful.  But, I can see how easy it would be for someone to mistaken this for a legitimate error.  Then again, maybe it is.

Brian Lagunas Tools and Utilities

  1. December 24th, 2009 at 13:28 | #1

    The error is being hidden by the endInvoke of a delegate. Or at least that was a similar issue I saw.

  2. James
    December 24th, 2009 at 21:46 | #2

    http://en.wikipedia.org/wiki/Operation_completed_successfully

    I’ve seen this a number of times, happens when something calls GetLastError() too late, after another call which affects the global error number.

  3. December 25th, 2009 at 15:13 | #3

    If you think that’s bad, then the best is yet to come :-)

  1. No trackbacks yet.