Fixed missing exception import.