DBError Class Reference
[Database]

Database error base class. More...

Inherits MWException.

Inherited by DBConnectionError, DBQueryError, and DBUnexpectedError.

List of all members.

Public Member Functions

 __construct (Database &$db, $error)
 Construct a database error.

Public Attributes

 $db


Detailed Description

Database error base class.

Definition at line 2497 of file Database.php.


Constructor & Destructor Documentation

DBError::__construct ( Database &$  db,
error 
)

Construct a database error.

Parameters:
$db Database object which threw the error
$error A simple error message to be used for debugging

Reimplemented in DBConnectionError.

Definition at line 2505 of file Database.php.

References $error.


Member Data Documentation

DBError::$db

Definition at line 2498 of file Database.php.


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:35 2009 for MediaWiki by  doxygen 1.5.9