Small change in exception handler and fixed typo.