TRUNK-2280: User friendly error message is displayed when number of characters exceed 1024

User friendly error message is displayed when number of characters exceed 1024
Same here