throw exception for annotated members