From 06685fd3b973088a91fd822c51d91a3a129bd540 Mon Sep 17 00:00:00 2001 From: Markus Klein <klein.t3@mfc-linz.at> Date: Sun, 19 Jan 2014 14:00:19 +0100 Subject: [PATCH] [BUGFIX] Flow\Utility\Exception missing This exception is required by PackageManager Resolves: #55132 Releases: 6.2 Change-Id: I80d966d581da78802dffd15c6bf27f50633a2f35 Reviewed-on: https://review.typo3.org/26925 Reviewed-by: Oliver Klee Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Philipp Gampe Tested-by: Philipp Gampe --- .../Classes/TYPO3/Flow/Utility/Exception.php | 21 +++++++++++++++++++ typo3/sysext/core/ext_autoload.php | 1 + 2 files changed, 22 insertions(+) create mode 100644 typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Exception.php diff --git a/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Exception.php b/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Exception.php new file mode 100644 index 000000000000..9dc821039dc8 --- /dev/null +++ b/typo3/sysext/core/Resources/PHP/TYPO3.Flow/Classes/TYPO3/Flow/Utility/Exception.php @@ -0,0 +1,21 @@ +<?php +namespace TYPO3\Flow\Utility; + +/* * + * This script belongs to the TYPO3 Flow framework. * + * * + * It is free software; you can redistribute it and/or modify it under * + * the terms of the GNU Lesser General Public License, either version 3 * + * of the License, or (at your option) any later version. * + * * + * The TYPO3 project - inspiring people to share! * + * */ + +/** + * A generic Utility Exception + * + * @api + */ +class Exception extends \TYPO3\Flow\Exception { + +} diff --git a/typo3/sysext/core/ext_autoload.php b/typo3/sysext/core/ext_autoload.php index b452e1d883fe..dc223a55badc 100644 --- a/typo3/sysext/core/ext_autoload.php +++ b/typo3/sysext/core/ext_autoload.php @@ -44,6 +44,7 @@ $flowClasses = array( 'typo3\flow\package\packagemanager' => $flowClassesPath . 'TYPO3/Flow/Package/PackageManager.php', 'typo3\flow\package\packagemanagerinterface' => $flowClassesPath . 'TYPO3/Flow/Package/PackageManagerInterface.php', 'typo3\flow\utility\files' => $flowClassesPath . 'TYPO3/Flow/Utility/Files.php', + 'typo3\flow\utility\exception' => $flowClassesPath . 'TYPO3/Flow/Utility/Exception.php', 'typo3\flow\exception' => $flowClassesPath . 'TYPO3/Flow/Exception.php', ); return array_merge($typo3Classes, $flowClasses); -- GitLab