public function __construct($table, $field) { parent::__contruct("The field {$table}.{$field} doesn't exist in the database."); }