BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
DBError Class Reference
Inheritance diagram for DBError:
Collaboration diagram for DBError:

Public Member Functions

 __construct (DatabaseBase $db=null, $error)
 
- Public Member Functions inherited from MWException
 useOutputPage ()
 
 isLoggable ()
 
 useMessageCache ()
 
 runHooks ($name, $args=[])
 
 msg ($key, $fallback)
 
 getHTML ()
 
 getText ()
 
 getPageTitle ()
 
 reportHTML ()
 
 report ()
 

Public Attributes

 $db
 

Additional Inherited Members

- Static Public Member Functions inherited from MWException
static isCommandLine ()
 

Detailed Description

Database error base class

Constructor & Destructor Documentation

DBError::__construct ( DatabaseBase  $db = null,
  $error 
)

Construct a database error

Parameters
DatabaseBase$dbObject which threw the error
string$errorA simple error message to be used for debugging

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