Issue #1170: Cope with the fact that later javac phases sometimes end up throwing exceptions which propogate up to compile, even though it's already logged an error