Correct exception syntax error