LPS-47855 (Please backport everything but last commit) ant format-source

Do not backport last commit because it includes the removal of SystemException