Some code moving in Parser. New: AnnotationException instead of generic exceptions.