* @param IDatabase $db Object which threw the error
* @param string $error A simple error message to be used for debugging
*/
- function __construct( IDatabase $db = null, $error ) {
+ public function __construct( IDatabase $db = null, $error ) {
$this->db = $db;
parent::__construct( $error );
}