aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/exceptions.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/lib/exceptions.php b/engine/lib/exceptions.php
index e797f85bc..de18f9b7e 100644
--- a/engine/lib/exceptions.php
+++ b/engine/lib/exceptions.php
@@ -83,6 +83,16 @@
*/
class CallException extends Exception {}
+ /**
+ * Data format exception
+ * An exception thrown when there is a problem in the format of some data.
+ *
+ * @author Marcus Povey <marcus@dushka.co.uk>
+ * @package Elgg
+ * @subpackage Exceptions
+ */
+ class DataFormatException extends Exception {}
+
// Class exceptions ///////////////////////////////////////////////////////////////////////
/**