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

Actually this seems like it will substring it to 1024 characters which is fine but inconsistent with line 631