summaryrefslogtreecommitdiff
path: root/system/libraries/Database_Exception.php
diff options
context:
space:
mode:
authorNathan Kinkade <nkinkade@nkinka.de>2010-01-03 15:51:24 +0000
committerNathan Kinkade <nkinkade@nkinka.de>2010-01-03 15:51:24 +0000
commit399abbc3a754cf5fdcfdff113446e1bc264091e2 (patch)
tree592188568e15325d59e51bf19cfdf667fae8d86d /system/libraries/Database_Exception.php
parent925a6a2220760cb7daacee1ab80a07b61b3a30a1 (diff)
parent64e5efd57ba1479179c202e1b76b6eeb42d2924c (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'system/libraries/Database_Exception.php')
-rw-r--r--system/libraries/Database_Exception.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/system/libraries/Database_Exception.php b/system/libraries/Database_Exception.php
new file mode 100644
index 00000000..4a9cd83e
--- /dev/null
+++ b/system/libraries/Database_Exception.php
@@ -0,0 +1,17 @@
+<?php defined('SYSPATH') or die('No direct script access.');
+/**
+ * Database exceptions.
+ *
+ * $Id: Database_Exception.php 4679 2009-11-10 01:45:52Z isaiah $
+ *
+ * @package Kohana
+ * @author Kohana Team
+ * @copyright (c) 2008-2009 Kohana Team
+ * @license http://kohanaphp.com/license
+ */
+class Database_Exception_Core extends Kohana_Exception {
+
+ // Database error code
+ protected $code = E_DATABASE_ERROR;
+
+} // End Database_Exception \ No newline at end of file