Changed back to try/catch block.