[TYPO3-core] RFC #7357: Use exceptions to detect missing user function

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Sun Feb 3 19:10:38 CET 2008


Ingo Renner schrieb:
> Martin Kutschker wrote:
> 
> Hi Masi,
> 
>>> how about using a more specific Exception than just the base Exception?
>>
>> I knew someone would come up with that. Do we have an exception system 
>> already in place? If not I kindly ask to use the base exception and 
>> come back to the function when we have one.
> 
> why? Why shouldn't we use a more specific exception if we can still 
> fetch it witch a base catch for Exception?
> 
> so -1 until you use a specific one, if you want that change, do it right.

But what specific exceptions you are referring to? AFAIK there is no 
system for them in TYPO3. I didn't want to invent them on-the-fly. So 
feel free to suggest one.

Masi


More information about the TYPO3-team-core mailing list