[BUGFIX] Let all toplevel exceptions extend the core exception 75/53675/2
authorMathias Brodala <mbrodala@pagemachine.de>
Mon, 7 Aug 2017 10:50:16 +0000 (12:50 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 11 Aug 2017 09:54:36 +0000 (11:54 +0200)
commit7e51baf69234e590b2634ef3ef473b20c6f4381d
tree32981503e882224e2426f7b0d637a7282b15ad9e
parent38aab43565189efc659b6a790a24f235988fd820
[BUGFIX] Let all toplevel exceptions extend the core exception

This is a small step to unify exception handling in TYPO3 by
ensuring no internal and 3rd party code is forced to catch the
toplevel PHP exception.

This change e.g. actually allows the FormPagePreviewRenderer to
handle form loading errors.

Resolves: #82052
Releases: master, 8.7
Change-Id: I5cb0b8f2c56a6bbbecc34d87474d6d8b3ad2015c
Reviewed-on: https://review.typo3.org/53675
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
15 files changed:
typo3/sysext/backend/Classes/Exception.php
typo3/sysext/beuser/Classes/Exception.php
typo3/sysext/documentation/Classes/Exception.php [new file with mode: 0644]
typo3/sysext/documentation/Classes/Exception/Document.php
typo3/sysext/documentation/Classes/Exception/XmlParser.php
typo3/sysext/extbase/Classes/Exception.php
typo3/sysext/extensionmanager/Classes/Exception.php [new file with mode: 0644]
typo3/sysext/extensionmanager/Classes/Exception/ExtensionManagerException.php
typo3/sysext/form/Classes/Exception.php
typo3/sysext/frontend/Classes/Exception.php
typo3/sysext/install/Classes/Exception.php
typo3/sysext/lang/Classes/Exception.php [new file with mode: 0644]
typo3/sysext/lang/Classes/Exception/Language.php
typo3/sysext/lang/Classes/Exception/Ter.php
typo3/sysext/lang/Classes/Exception/XmlParser.php