summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/APP_CODE/TimeTrackerException.php
diff options
context:
space:
mode:
Diffstat (limited to 'demos/time-tracker/protected/APP_CODE/TimeTrackerException.php')
-rw-r--r--demos/time-tracker/protected/APP_CODE/TimeTrackerException.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/demos/time-tracker/protected/APP_CODE/TimeTrackerException.php b/demos/time-tracker/protected/APP_CODE/TimeTrackerException.php
new file mode 100644
index 00000000..d715eefa
--- /dev/null
+++ b/demos/time-tracker/protected/APP_CODE/TimeTrackerException.php
@@ -0,0 +1,14 @@
+<?php
+
+class TimeTrackerException extends TException
+{
+ /**
+ * @return string path to the error message file
+ */
+ protected function getErrorMessageFile()
+ {
+ return dirname(__FILE__).'/exceptions.txt';
+ }
+}
+
+?> \ No newline at end of file