From 038dce9f712e3c4cd8f6facf4e3cb2fd68604596 Mon Sep 17 00:00:00 2001
From: Ji Lu <jilu1@ebay.com>
Date: Wed, 15 Apr 2015 22:12:16 +0300
Subject: [PATCH] MAGETWO-35879: Changed to use LocalizedException in Currency
 Symbol FetchRates

---
 .../Controller/Adminhtml/System/Currency/FetchRates.php         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php
index a99c5d69609..f6463d67084 100644
--- a/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php
+++ b/app/code/Magento/CurrencySymbol/Controller/Adminhtml/System/Currency/FetchRates.php
@@ -22,7 +22,7 @@ class FetchRates extends \Magento\CurrencySymbol\Controller\Adminhtml\System\Cur
         $service = $this->getRequest()->getParam('rate_services');
         $this->_getSession()->setCurrencyRateService($service);
         if (!$service) {
-            throw new \Exception(__('Please specify a correct Import Service.'));
+            throw new \Magento\Framework\Exception\LocalizedException(__('Please specify a correct Import Service.'));
         }
         try {
             /** @var \Magento\Directory\Model\Currency\Import\ImportInterface $importModel */
-- 
GitLab