improve compiler exception messages