summaryrefslogtreecommitdiff
path: root/demos/activeblog/protected/App_Controls/BlogException.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/activeblog/protected/App_Controls/BlogException.php')
-rw-r--r--demos/activeblog/protected/App_Controls/BlogException.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/demos/activeblog/protected/App_Controls/BlogException.php b/demos/activeblog/protected/App_Controls/BlogException.php
new file mode 100644
index 00000000..2501fa49
--- /dev/null
+++ b/demos/activeblog/protected/App_Controls/BlogException.php
@@ -0,0 +1,31 @@
+<?php
+/**
+ * BlogException class file
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2006 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ * @version $Id: BlogException.php 1398 2006-09-08 19:31:03Z xue $
+ */
+
+/**
+ * BlogException class
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2006 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ */
+class BlogException extends THttpException
+{
+ /**
+ * @return string path to the error message file
+ */
+ protected function getErrorMessageFile()
+ {
+ return dirname(__FILE__).'/messages.txt';
+ }
+}
+
+?> \ No newline at end of file