Changed exception type
Corrected comment