BUG ErrorControlChain now supports exception handling

For instance, Injector can throw exceptions if new classes haven't been detected. It's necessary to allow flushing in these cases.