I am trying to add length validation to one of my IEntityValidator classes, so I just added a loop that iterates all the fields and checks the length. The problem is that if the user enters a value that exceeds the maximum length, an exception gets thrown right when I set the field value. Is there a way to cause this exception not to be thrown? I really don't want to have to write try catch blocks around every field I set.
Jason