PHP
downloads | documentation | faq | getting help | mailing lists | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Exception::__construct> <Exceptions prédéfinies
Last updated: Fri, 14 Nov 2008

view this page in

Exception

Introduction

Exception est la classe de base pour toutes les exceptions.

Synopsis de la classe

Exception
Exception {
/* Propriétés */
protected string $message ;
private string $string ;
protected int $code ;
protected string $file ;
protected int $line ;
private array $trace ;
/* Méthodes */
public Exception::__construct ([ string $message [, int $code ]] )
final public string Exception::getMessage ( void )
final public int Exception::getCode ( void )
final public string Exception::getFile ( void )
final public string Exception::getLine ( void )
final public array Exception::getTrace ( void )
final public string Exception::getTraceAsString ( void )
public string Exception::__toString ( void )
final private string Exception::__clone ( void )
}

Propriétés

message

Le message de l'exception

string

Nom interne de l'exception

code

Le code de l'exception

file

Le nom du fichier dans lequel l'exception a été lancée

line

La ligne où l'exception a été lancée

trace

La trace dans la pile

Sommaire



add a note add a note User Contributed Notes
Exception
taras dot dot dot di at gmail dot com
22-Jul-2008 01:08
Note that the default message is an empty string, and the default code is zero

Exception::__construct> <Exceptions prédéfinies
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites