Adding `throws Exception` to the method would be better than catching this here.