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

search for in the

ErrorException::getSeverity> <ErrorException
[edit] Last updated: Fri, 24 May 2013

view this page in

ErrorException::__construct

(PHP 5 >= 5.1.0)

ErrorException::__constructConstructor de la Excepción

Descripción

public ErrorException::__construct() ([ string $message = "" [, int $code = 0 [, int $severity = 1 [, string $filename = __FILE__ [, int $lineno = __LINE__ [, Exception $previous = NULL ]]]]]] )

Construye la Excepción.

Parámetros

message

Mensaje de la Excepción a lanzar.

code

El código de la Excepción.

severity

Nivel de la severidad de la Excepción.

filename

Nombre del fichero donde se lanzó la Excepción.

lineno

Número de la línea donde se produjo la excepción.

previous

La anterior excepción utilizada para la excepción de encadenamiento.

Historial de cambios

Versión Descripción
5.3.0 El parámetro previous fue añadido.



add a note add a note User Contributed Notes ErrorException::__construct - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites