summaryrefslogtreecommitdiff
path: root/system/libraries/Database_Exception.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-24 19:20:36 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-24 19:20:36 -0800
commit9b6663f87a7e679ffba691cf516191fc840cf978 (patch)
tree20cf9f3aaf93b4ba69d282dcf10d259db4a752de /system/libraries/Database_Exception.php
parent82ee5f9d338017c69331b2907f37a468ced8c66e (diff)
Update to Kohana r4684 which is now Kohana 2.4 and has substantial
changes.
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