function __construct($field, $where)
 {
     $this->field = $field;
     $this->where = $where;
     parent::__construct();
     $_SESSION["messages"]->addMessage("The database tells me that no field named '{$field}' exists. Check your query in the {$where}.");
 }
 function __construct()
 {
     parent::__construct();
     $_SESSION["messages"]->addMessage("The specified database could not be found.");
 }
 function __construct()
 {
     parent::__construct();
     $_SESSION["messages"]->addMessage("No database has been selected. Please use the installation-plugin to do that.");
 }
 function __construct()
 {
     parent::__construct();
     $_SESSION["messages"]->addMessage("Cannot authenticate with the database. Please use the install-plugin.");
 }
 function __construct($mysqlMessage)
 {
     parent::__construct();
     $this->message = $mysqlMessage;
     $_SESSION["messages"]->addMessage($mysqlMessage);
 }
 function __construct($tableName = "")
 {
     parent::__construct();
     $this->tableName = $tableName;
     $_SESSION["messages"]->addMessage("The table " . ($tableName != "" ? "({$tableName}) " : "") . "of this plugin has not yet been set up. Please use the install-plugin.");
 }
 function __construct($fieldName = "")
 {
     parent::__construct();
     $_SESSION["messages"]->addMessage("No Datatype for the field {$fieldName} has been set!");
 }