TRUNK-2280: Latest changes made for displaying a user friendly error message when number of characters exceed 1024

I think this should be  > and not >=, if i specify 1024 as the maximum, the general behavior is that 1024 is allowed