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

search for in the

Exception::__construct> <Exceções pré-definidas
Last updated: Fri, 02 Jan 2009

view this page in

Exception

Introdução

Exception é a classe base para todas Exceptions.

Sinopse da classe

Exception
Exception {
/* Properties */
protected string $message ;
private string $string ;
protected int $code ;
protected string $file ;
protected int $line ;
private array $trace ;
/* Methods */
public Exception::__construct ([ string $message=NULL [, 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 )
}

Propriedades

message

A mensagem da exceção

string

Nome interno da exceção

code

O código da exceção

file

O nome do arquivo onde a exceção foi disparada

line

A linha onde a exceção foi disparada

trace

A stack trace

Índice



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

Exception::__construct> <Exceções pré-definidas
Last updated: Fri, 02 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites