void () { myCompositeFilter.addFilter(throwSOEFilter()); try { Assert.assertNull(applyFilter()); Assert.fail("Exception expected"); } catch (Exception e) { Assert.assertTrue(e.getMessage().contains("Error while applying com.intellij.execution.filters.CompositeFilterTest$")); } }