[TYPO3-v4] Exceptions and autoloader

Steffen Kamper info at sk-typo3.de
Sun Feb 6 16:54:44 CET 2011


Hi,

i run into problems when throwing exceptions with own exception classes 
in EM.

Example:
throw new tx_em_ConnectionException(get_class($this) . ': ' . $message, 
$code);

The class is in ext_autoload, but i guess that "new class" doesn't ask 
autoloader.

I could fix this with the well known require, but i want to ask you how 
to deal this correct. Or is this a bug in autoloader?

vg Steffen


More information about the TYPO3-project-v4 mailing list