[TYPO3-core] RFC #15550:t3lib_error_Exception not available in some cases

Helmut Hummel helmut at typo3.org
Wed Aug 25 00:15:37 CEST 2010


Hi Stefan,

On 24.08.10 23:58, Stefan Galinski wrote:
> 
> This is an SVN patch request.
> 
> Type: bugfix
> 
> Bugtracker reference:
> http://bugs.typo3.org/view.php?id=15550
> 
> Branches: 4.3, 4.4, trunk
> 
> Problem:
> The current errorHandler tries to throw an t3lib_error_Exception if e.g. a 
> PHP deprecation error is thrown. In this case the autoloading seems not to 
> be available.

Thanks! This really annoyed me quite a while but hadn't time to dig into
it yet.

> Solution:
> Use a simple Exception instead of t3lib_error_Exception. 

I would prefer to use a require_once, right before the exception
instead. The the t3lib_error_Exception class would be available in any case.

Regards Helmut


More information about the TYPO3-team-core mailing list