ae.setConfigParameterValue("ContinueOnFailure", Boolean.TRUE);
ae.reconfigure();
cas.reset();
cas.setDocumentText("ERROR");
UIMAFramework.getLogger().setLevel(Level.OFF); // Suppress logging of expected exception
ae.process(cas); //should not throw exception now
UIMAFramework.getLogger().setLevel(Level.INFO); // Restore to apparent default of INFO
//document should not have aborted, but FC should have been notified of the failiure
assertEquals(0, FlowControllerForErrorTest.abortedDocuments.size());
assertEquals(1, FlowControllerForErrorTest.failedAEs.size());