LPS-38584 Report error while formatting a file

This helps us to know what file the JavadocFormatter choked on when running on the code base. Thanks.