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