CHR Solutions interview question

how to handle the exceptions?