CSLA error messages

CSLA error messages

Old forum URL: forums.lhotka.net/forums/t/8521.aspx

Regent posted on Friday, February 12, 2010

I just found myself adding periods to the error messages when handling exceptions from CSLA.

Rocky, would you please add final periods to all error messages?..

According to Microsoft's Design Guidelines for Developing Class Libraries that is how it should be:

Create grammatically correct error messages with punctuation. Each sentence in the description string of an exception should end in a period. Code that generically displays an exception message to the user does not have to handle the case where a developer forgot the final period.

(Error Raising and Handling Guidelines)

RockfordLhotka replied on Friday, February 12, 2010

Added to bug list: http://www.lhotka.net/cslabugs/edit_bug.aspx?id=699

They are all resource-based, so if/when I get around to this I'll fix the base resource file. People contributing resource files for other languages will have to apply appropriate punctuation for their languages.

Copyright (c) Marimer LLC