mirror of
https://github.com/zyx0814/dzzoffice.git
synced 2025-01-08 11:57:57 +08:00
20 lines
296 B
PHP
20 lines
296 B
PHP
<?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;
|
|
}
|
|
}
|
|
?>
|