Removed all IOException and GatewayException since there is already Exception that is more general