Added Exception qualifier to try catch block.