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

Ingo Renner ingo at typo3.org
Sun Feb 3 21:32:29 CET 2008


Martin Kutschker wrote:

Hi Masi,

> According to php.net [1] the second parameter is a custom code. Probably 
> to be used in extension classes.

so using it as error code - which is obvious - is not wrong, is it? We 
also used that paradigm for the other new exceptions and 5.0 is using 
this scheme too.

Maybe we can find the time until final release to create a exception 
handler which makes a nice error message like when the Db can't be 
reached or the like. Another possibility would be to check if we can use 
some of the 5.0 exception handler code with stack trace...


Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


More information about the TYPO3-team-core mailing list