summaryrefslogtreecommitdiffstats
path: root/lib/SimpleSAML
diff options
context:
space:
mode:
authorSergio Gomez <sergio@uco.es>2016-07-20 16:18:56 +0200
committerSergio Gomez <sergio@uco.es>2016-07-20 16:18:56 +0200
commitaaf823236dea65165037d6a64b229b708ad831c2 (patch)
tree3164fd991b2af7641838850e502b771e255574eb /lib/SimpleSAML
parent8eaf60b1dfe83d4c987af5311ffe3a279885f56d (diff)
downloadsimplesamlphp-aaf823236dea65165037d6a64b229b708ad831c2.zip
simplesamlphp-aaf823236dea65165037d6a64b229b708ad831c2.tar.gz
simplesamlphp-aaf823236dea65165037d6a64b229b708ad831c2.tar.bz2
Removed unnecessary exception
Diffstat (limited to 'lib/SimpleSAML')
-rw-r--r--lib/SimpleSAML/Utils/XML.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/SimpleSAML/Utils/XML.php b/lib/SimpleSAML/Utils/XML.php
index 092de6c..9750634 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;
}
}