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 __construct ([ string $message= "" [, int $code= 0 [, Exception $previous= NULL ]]] )
final public string getMessage ( void )
final public Exception getPrevious ( void )
final public int getCode ( void )
final public string getFile ( void )
final public int getLine ( void )
final public array getTrace ( void )
final public string getTraceAsString ( void )
public string __toString ( void )
final private void __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