Works with PHP 5.3
Remove obsoleted exception classes