<?php class DBException extends Exception { private $msgLabel; public function __construct($dbmessage,$msgLabel,$code) { parent::__construct($dbmessage,$code); $this->msgLabel=$msgLabel; } public function msgLabel() { return $this->msgLabel; } } require_once('db.inc.common.php'); initialize_db_config($Config); require_once("db.inc.".$Config->DBType.".php"); $DBConn=db_init_connection($Config); ?>