throw new validationexception c#