Exception message honesty

The more I work with SharePoint, the less surprised I am when I see things that are unusual, bizzare, or even comical.  Here’s today’s installation (emphasis mine):

WhatsPopularWebPart: Exception while retrieving data. Exception: System.ServiceModel.FaultException`1[Microsoft.Office.Server.WebAnalytics.ProcessedDataRetriever.DataRetrieverFailure]: The creator of this fault did not specify a Reason. (Fault Detail is equal to Microsoft.Office.Server.WebAnalytics.ProcessedDataRetriever.DataRetrieverFailure).

I’ve written before about inaccurate progress bars and offered my plea for meaningful exception messages, and I suppose in this error I get both my wishes.  At the very least it’s brutally honest (though it would have been great to out the lazy developer by name).

 

About the author

derek Derek Smith is a software developer with 20 years of history developing on the Microsoft platform. He is the founder of HomeSpot HQ, and is the Director for Microsoft SharePoint Professional Services at rmsource, inc. in Raleigh, NC. Derek is on Twitter, , and Linked In

Leave a Reply