Referencia de funciones Otras extensiones básicas SPL Excepciones LogicException LengthException OutOfBoundsException La clase LogicException (PHP 5 >= 5.1.0) Introducción Excepción que representa un error en la lógica del programa. Este tipo de excepciones debería conducir directamente a una reparación del código. Sinopsis de la Clase LogicException extends Exception { /* Propiedades heredadas */ protected string $message ; protected int $code ; protected string $file ; protected int $line ; /* Métodos heredados */ final public string Exception::getMessage ( void ) final public Exception Exception::getPrevious ( void ) final public mixed Exception::getCode ( void ) final public string Exception::getFile ( void ) final public int Exception::getLine ( void ) final public array Exception::getTrace ( void ) final public string Exception::getTraceAsString ( void ) public string Exception::__toString ( void ) final private void Exception::__clone ( void ) }
La clase LogicException (PHP 5 >= 5.1.0) Introducción Excepción que representa un error en la lógica del programa. Este tipo de excepciones debería conducir directamente a una reparación del código. Sinopsis de la Clase LogicException extends Exception { /* Propiedades heredadas */ protected string $message ; protected int $code ; protected string $file ; protected int $line ; /* Métodos heredados */ final public string Exception::getMessage ( void ) final public Exception Exception::getPrevious ( void ) final public mixed Exception::getCode ( void ) final public string Exception::getFile ( void ) final public int Exception::getLine ( void ) final public array Exception::getTrace ( void ) final public string Exception::getTraceAsString ( void ) public string Exception::__toString ( void ) final private void Exception::__clone ( void ) }