Public Member Functions | |
| __construct (Database &$db, $error, $errno, $sql, $fname) | |
| getText () | |
| If $wgShowExceptionDetails is true, return a text message with a backtrace to the error. | |
| getSQL () | |
| getLogMessage () | |
| Return the requested URL and point to file and line number from which the exception occured. | |
| getPageTitle () | |
| getHTML () | |
| If $wgShowExceptionDetails is true, return a HTML message with a backtrace to the error, otherwise show a message to ask to set it to true to show that information. | |
Public Attributes | |
| $error | |
| $errno | |
| $sql | |
| $fname | |
Definition at line 2681 of file Database.php.
| DBQueryError::__construct | ( | Database &$ | db, | |
| $ | error, | |||
| $ | errno, | |||
| $ | sql, | |||
| $ | fname | |||
| ) |
| DBQueryError::getHTML | ( | ) |
If $wgShowExceptionDetails is true, return a HTML message with a backtrace to the error, otherwise show a message to ask to set it to true to show that information.
Reimplemented from MWException.
Definition at line 2724 of file Database.php.
References getSQL(), MWException::useMessageCache(), and wfMsgNoDB().
| DBQueryError::getLogMessage | ( | ) |
Return the requested URL and point to file and line number from which the exception occured.
Reimplemented from MWException.
Definition at line 2715 of file Database.php.
| DBQueryError::getPageTitle | ( | ) |
Reimplemented from MWException.
Definition at line 2720 of file Database.php.
References MWException::msg().
| DBQueryError::getSQL | ( | ) |
| DBQueryError::getText | ( | ) |
If $wgShowExceptionDetails is true, return a text message with a backtrace to the error.
Reimplemented from MWException.
Definition at line 2697 of file Database.php.
References getSQL(), MWException::useMessageCache(), and wfMsg().
| DBQueryError::$errno |
| DBQueryError::$error |
| DBQueryError::$fname |
| DBQueryError::$sql |
1.5.9