You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
296 B
20 lines
296 B
<?php
|
|
|
|
if(!defined('IN_DZZ')) {
|
|
exit('Access Denied');
|
|
}
|
|
|
|
class DbException extends Exception{
|
|
|
|
public $sql;
|
|
|
|
public function __construct($message, $code = 0, $sql = '') {
|
|
$this->sql = $sql;
|
|
parent::__construct($message, $code);
|
|
}
|
|
|
|
public function getSql() {
|
|
return $this->sql;
|
|
}
|
|
}
|
|
?>
|