[TASK] Remove unused Extbase exception classes
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-81600-UnusedExtbaseExceptions.rst
1 .. include:: ../../Includes.txt
2
3 ===============================================
4 Deprecation: #81600 - Unused Extbase Exceptions
5 ===============================================
6
7 See :issue:`81600`
8
9 Description
10 ===========
11
12 Extbase ships with a lot of PHP Exception classes which are not used (partially anymore) due to
13 refactorings or backports 8 years ago - they are never thrown within TYPO3 / Extbase itself.
14
15 These PHP classes have been removed.
16
17
18 Impact
19 ======
20
21 Using these exception classes will not work anymore in TYPO3 v10.
22
23
24 Affected Installations
25 ======================
26
27 Any TYPO3 extbase extension using these extraordinary exceptions in their own code.
28
29
30 Migration
31 =========
32
33 PHP class aliases are in place, so all code will still work throughout TYPO3 v9, but extension authors
34 should migrate to other exceptions.
35
36 Use TYPO3\CMS\Extbase\Configuration\Exception instead of
37 * TYPO3\CMS\Extbase\Configuration\Exception\ContainerIsLockedException
38 * TYPO3\CMS\Extbase\Configuration\Exception\NoSuchFileException
39 * TYPO3\CMS\Extbase\Configuration\Exception\NoSuchOptionException
40
41 Use TYPO3\CMS\Extbase\Exception instead of
42 * TYPO3\CMS\Extbase\Mvc\Exception\InvalidMarkerException
43 * TYPO3\CMS\Extbase\Mvc\Exception\InvalidViewHelperException
44
45 Use TYPO3\CMS\Extbase\Mvc\Exception instead of
46 * TYPO3\CMS\Extbase\Mvc\Exception\InvalidRequestTypeException
47 * TYPO3\CMS\Extbase\Mvc\Exception\RequiredArgumentMissingException
48 * TYPO3\CMS\Extbase\Mvc\Exception\InvalidCommandIdentifierException
49
50 Use TYPO3\CMS\Core\Cache\Exception\InvalidCacheException instead of
51 * TYPO3\CMS\Extbase\Object\Container\Exception\CannotInitializeCacheException
52
53 Use TYPO3\CMS\Extbase\Object\Exception instead of
54 * TYPO3\CMS\Extbase\Object\Container\Exception\TooManyRecursionLevelsException
55 * TYPO3\CMS\Extbase\Object\Exception\WrongScopeException
56 * TYPO3\CMS\Extbase\Object\InvalidClassException
57 * TYPO3\CMS\Extbase\Object\InvalidObjectConfigurationException
58 * TYPO3\CMS\Extbase\Object\InvalidObjectException
59 * TYPO3\CMS\Extbase\Object\ObjectAlreadyRegisteredException
60 * TYPO3\CMS\Extbase\Object\UnknownClassException
61 * TYPO3\CMS\Extbase\Object\UnknownInterfaceException
62 * TYPO3\CMS\Extbase\Object\UnresolvedDependenciesException
63
64 Use TYPO3\CMS\Extbase\Persistence\Generic\Exception instead of
65 * TYPO3\CMS\Extbase\Persistence\Generic\Exception\CleanStateNotMemorizedException
66 * TYPO3\CMS\Extbase\Persistence\Generic\Exception\InvalidPropertyTypeException
67 * TYPO3\CMS\Extbase\Persistence\Generic\Exception\MissingBackendException
68
69 Use TYPO3\CMS\Extbase\Property\Exception instead of
70 * TYPO3\CMS\Extbase\Property\Exception\FormatNotSupportedException
71 * TYPO3\CMS\Extbase\Property\Exception\InvalidFormatException
72 * TYPO3\CMS\Extbase\Property\Exception\InvalidPropertyException
73
74 Use TYPO3\CMS\Extbase\Reflection\Exception instead of
75 * TYPO3\CMS\Extbase\Reflection\Exception\InvalidPropertyTypeException
76
77 Use TYPO3\CMS\Extbase\Security\Exception instead of
78 * TYPO3\CMS\Extbase\Security\Exception\InvalidArgumentForRequestHashGenerationException
79 * TYPO3\CMS\Extbase\Security\Exception\SyntacticallyWrongRequestHashException
80 * TYPO3\CMS\Extbase\Mvc\Exception\InvalidUriPatternException
81
82 Use TYPO3\CMS\Extbase\Security\Exception\InvalidHashException instead of
83 * TYPO3\CMS\Extbase\Mvc\Exception\InvalidOrNoRequestHashException
84
85 Use TYPO3\CMS\Extbase\Validation\Exception instead of
86 * TYPO3\CMS\Extbase\Validation\Exception\InvalidSubjectException
87 * TYPO3\CMS\Extbase\Validation\Exception\NoValidatorFoundException
88
89 Use TYPO3Fluid\Fluid\View\Exception\InvalidTemplateResourceException instead of
90 * TYPO3\CMS\Extbase\Mvc\Exception\InvalidTemplateResourceException
91
92 .. index:: PHP-API