Revert "replace FormatException.getFormatInstace() with 'new FormatException()' calls. Why did we use such a strange construction?"

This reverts commit cfde47da8045bd32aba91223505ff86d3393e16e.
disable optimized exception handling inside test units