[TYPO3-project-4-3] autoloader using SPL

Steffen Kamper info at sk-typo3.de
Mon Aug 4 13:19:49 CEST 2008


Ingo Renner schrieb:
> Martin Kutschker wrote:
>> Ingo Renner schrieb:
>>> Howver, we actually do
>>> require it already since TYPO3 4.2 as we throw some SPL Exceptions f.e.
>>
>> Really? Where? No objections just curious.
>>
>> When I introduced a patch that made use of expceptions I wasn't told to
>> make use of them.
> 
> I guess it's somewhere in the new backend, I remember throwing some 
> InvalidArgumentExceptions and/or UnexpectedValueExceptions
> 
> 
> Ingo
> 

it's in backend.php:
throw new UnexpectedValueException('$toolbarItem "'.$toolbarItemName.'" 
must implement interface backend_toolbarItem', 1195126772);

vg Steffen


More information about the TYPO3-project-4-3 mailing list