Exception handling in more corner cases in AnnotationProcessor