| | | | |
| |||||||
| PHP-Fortgeschrittene Arbeiten mit PHP ohne Einschränkungen |
|
| | LinkBack | Themen-Optionen | Thema bewerten |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Erfahrener Benutzer Registriert seit: 21.05.2008
Beiträge: 9.937
![]() | Blöde Sache, im Prinzip kannst du nur versuchen zu prüfen, ob es sich um __toString() handelt (debug_backtrace) und dann manuell zur Fehlerbehandlung springen. PHP-Code: |
| | |
| | ||
| Erfahrener Benutzer Registriert seit: 16.07.2005
Beiträge: 1.007
PHP-Kenntnisse: Fortgeschritten ![]() | Zitat:
dann muss ich mal schauen, dass ich meine template klasse umschreibe um keine exceptions zu werfen... | |
| | |
| | ||
| Erfahrener Benutzer Registriert seit: 16.07.2005
Beiträge: 1.007
PHP-Kenntnisse: Fortgeschritten ![]() | Zitat:
naja, bei fatal wird ein debug backtrace ausgegeben und dann exit;.... der unterschied ist eben, dass ich eine abstracte exception klasse habe, die dann von fatal_exception simple erweitert wird> PHP-Code: 1. du kannst nur die exceptions abfangen die du erwartest (unerwartete exceptions sollen zum script ende führen!) 2. es ist logischer als: PHP-Code: gruß | |
| | |
|
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| PHP: Exceptions - Teil 2 | Zergling-new | Tutorials | 5 | 15.03.2009 11:00 |
| PHP: Exceptions - Teil 1 | Zergling-new | Tutorials | 4 | 05.12.2007 23:31 |
| Welche Art von Exceptions sollte man werfen? | Zergling-new | PHP-Fortgeschrittene | 1 | 24.09.2007 13:29 |
| Ermitteln ob Methode geerbt wurde oder nicht? | MaMo-Net | PHP Tipps 2007 | 23 | 14.04.2007 00:28 |
| erbende Exceptions mit PHP 5.1.1 nicht mehr möglich? | HStev | PHP-Fortgeschrittene | 4 | 27.01.2006 14:32 |
| online klappts -- offline nicht...warum? | PHP Tipps 2005 | 27 | 15.05.2005 12:04 | |
| einfache errors in PHP code,dringend hilfe! | PHP Tipps 2005 | 4 | 09.03.2005 15:04 | |
| Ist der Code richtig? | PHP Tipps 2005 | 13 | 24.02.2005 13:11 | |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| php error to exception, php error exception, __tostring() must not throw an exception, php errors, error to exception php, php errors to exception, \must not throw an exception\, must not throw an exception, php must not throw an exception, php errors as exception, php catch warning, __tostring() must not throw an exception in, php must not throw an exception in, php errors to exceptions, php exception warning, php exception, http://www.php.de/php-fortgeschrittene/45056-php-errors-zu-exceptions.html, fehlermeldung werfen notice php, php error as exception, php exception notice |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.