Handled exception when processing annotations