RuleContext ArguementOutOfRangeException

RuleContext ArguementOutOfRangeException

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


ajj3085 posted on Tuesday, October 18, 2011

Would it be possible to throw a different exception if you're trying to call AddXXXResult and the property isn't in the list of AffectedProperties?  Something that would be clear without opening the Csla source would be great. Smile

JonnyBee replied on Wednesday, October 19, 2011

I'm sure Csla could add a better exception message to the ArgumentOutOfRange exception.

http://www.lhotka.net/cslabugs/edit_bug.aspx?id=982

 

ajj3085 replied on Thursday, October 20, 2011

Awesome, thanks for adding that!

Copyright (c) Marimer LLC