Changeset:
e9c590eaf391
https://sourceforge.net/p/mrbs/hg-code/ci/e9c590eaf391da492ff7f5ffa4a8b1e730f52974
Author:
Campbell Morrison <[email protected]>
Date:
Wed Sep 14 13:07:38 2016 +0100
Log message:
Fixed exception throwing
diffstat:
web/lib/MRBS/Exception.php | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diffs (14 lines):
diff -r 102fce3c4814 -r e9c590eaf391 web/lib/MRBS/Exception.php
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/lib/MRBS/Exception.php Wed Sep 14 13:07:38 2016 +0100
@@ -0,0 +1,10 @@
+<?php
+namespace MRBS;
+
+// At the moment MRBS\Exception is identical to \Exception and only exists to
catch
+// code throwing a new Exception within the MRBS namespace. However it does
allow
+// us to do MRBS specific exception handling in the future.
+
+class Exception extends \Exception
+{
+}
------------------------------------------------------------------------------
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits