Removed duplicate exception. Unused import.