PHP Dokumentation: Exception construct
12. Januar 2010 von werner
Exception::__construct
(PHP 5 >= 5.1.0)
Exception::__construct — Erstellt die Exception
Beschreibung
public Exception::__construct ([ string $message = "" [, int $code = 0 [, Exception $previous = NULL ]]] )
Erstellt die Exception.
Parameter-Liste
- message
Die auszugebende Beschreibung der Exception.
- code
Die Fehlernummer der Exception.
- previous
Die vorangegangene Exception, die für Exception-Verkettung verwendet werden soll.
Changelog
| Version | Beschreibung |
|---|---|
| 5.3.0 | Der Parameter previous wurde hinzugefügt. |