[TASK] Improve duplicate exception code check
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Classes / Utility / Parser / ExtensionXmlPullParser.php
index a28fa37..1903abf 100644 (file)
@@ -54,7 +54,10 @@ class ExtensionXmlPullParser extends AbstractExtensionXmlParser
             throw new \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException('Unable to create XML parser.', 1342640540);
         }
         if ($this->objXml->open($file, 'utf-8') === false) {
-            throw new \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException(sprintf('Unable to open file resource %s.', $file));
+            throw new \TYPO3\CMS\Extensionmanager\Exception\ExtensionManagerException(
+                sprintf('Unable to open file resource %s.', $file),
+                1476108651
+            );
         }
         while ($this->objXml->read()) {
             if ($this->objXml->nodeType == \XMLReader::ELEMENT) {