Permalink
Browse files

CIRuntimeException added

  • Loading branch information...
darvanitis
darvanitis committed Oct 4, 2012
1 parent 1d3d516 commit 1899e667fe75ac26501c6c3003adb19116939b58
Showing with 11 additions and 2 deletions.
  1. +11 −2 system/core/Exceptions.php
View
@@ -138,7 +138,7 @@ public function show_error($heading, $message, $template = 'error_general', $sta
$message = '<p>'.implode('</p><p>', ( ! is_array($message)) ? array($message) : $message).'</p>';
- throw new CI_RuntimeException($heading, $message, $template, $status_code, E_ERROR);
+ throw new CIRuntimeException($heading, $message, $template, $status_code, E_ERROR);
}
// --------------------------------------------------------------------
@@ -177,7 +177,16 @@ public function show_php_error($severity, $message, $filepath, $line)
}
-class CI_RuntimeException extends Exception {
+/**
+ * CIRuntimeException Class
+ *
+ * @package CodeIgniter
+ * @subpackage Libraries
+ * @category Exceptions
+ * @author EllisLab Dev Team
+ * @link http://codeigniter.com/user_guide/libraries/exceptions.html
+ */
+class CIRuntimeException extends Exception {
protected $heading;
protected $template;

0 comments on commit 1899e66

Please sign in to comment.