[CLEANUP] Clean up comments and error messages in ResourceStorage 39/29439/5
authorOliver Klee <typo3-coding@oliverklee.de>
Sun, 13 Apr 2014 10:53:32 +0000 (12:53 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Tue, 15 Apr 2014 01:33:09 +0000 (03:33 +0200)
commitb97dc01d5c264cbe4f77463880e0109eff97fd9b
tree74606a7c9e04bb8d5d933d7b3969f67aa261f942
parent1484cef5349a3008b6a1820147e8851666fef100
[CLEANUP] Clean up comments and error messages in ResourceStorage

This changes adds some missing @throws annotations and improves the
readability of some comments.

Also fix a typo in an exception and reformat some exceptions for
better readability.

Moreover add some checks if the correct type is present
before calling undefined methods.

This change does not introduce any functional changes.

Releases: 6.2
Resolves: #57871
Change-Id: Iab4414bd480a05cc5ca3b29df0d12e719064b063
Reviewed-on: https://review.typo3.org/29439
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Stefan Neufeind
Tested-by: Stefan Neufeind
typo3/sysext/core/Classes/Resource/ResourceStorage.php