Вверх ↑
Главный модератор
Ответов: 2997
Рейтинг: 395
#1: 2007-06-26 14:09:40 ЛС | профиль | цитата
Manual PHP5 писал(а):

Пример 20-2. The Built in Exception class

<?php
class Exception
{
protected $message = 'Unknown exception'; // exception message
protected $code = 0; // user defined exception code
protected $file; // source filename of exception
protected $line; // source line of exception

function __construct($message = null, $code = 0);

final function getMessage(); // message of exception
final function getCode(); // code of exception
final function getFile(); // source filename
final function getLine(); // source line
final function getTrace(); // an array of the backtrace()
final function getTraceAsString(); // formated string of trace

/* Overrideable */
function __toString(); // formated string for display
}
?>

карма: 6
Дорогу осилит идущий. Install/Update HiAsm.NET
0