From aaf823236dea65165037d6a64b229b708ad831c2 Mon Sep 17 00:00:00 2001
From: Sergio Gomez <sergio@uco.es>
Date: Wed, 20 Jul 2016 16:18:56 +0200
Subject: [PATCH] Removed unnecessary exception

---
 lib/SimpleSAML/Utils/XML.php | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/SimpleSAML/Utils/XML.php b/lib/SimpleSAML/Utils/XML.php
index 092de6cbe..9750634c1 100644
--- a/lib/SimpleSAML/Utils/XML.php
+++ b/lib/SimpleSAML/Utils/XML.php
@@ -8,7 +8,6 @@
 namespace SimpleSAML\Utils;
 
 use SimpleSAML\Logger;
-use Symfony\Component\Config\Definition\Exception\Exception;
 
 class XML
 {
@@ -405,7 +404,7 @@ class XML
             try {
                 $dom = \SAML2_DOMDocumentFactory::fromString($xml);
                 $res = true;
-            } catch (Exception $e) {
+            } catch (\Exception $e) {
                 $res = false;
             }
         }
-- 
GitLab