Officer shot, suspect caught