Best practices: throwing exceptions from properties

Viewed 56690

When is it appropriate to throw an exception from within a property getter or setter? When is it not appropriate? Why? Links to external documents on the subject would be helpful... Google turned up surprisingly little.

8 Answers
Related