suppress stack trace dumps for simulated errors in unit tests.
suppress stack trace dump for runtime errors in failure unit tests