makeGatewayParams: fix missing 'new' in throwing