Use imported exception names.