summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/Translate/webservices/TranslationWebServiceInvalidInputException.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/Translate/webservices/TranslationWebServiceInvalidInputException.php')
-rw-r--r--www/wiki/extensions/Translate/webservices/TranslationWebServiceInvalidInputException.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/wiki/extensions/Translate/webservices/TranslationWebServiceInvalidInputException.php b/www/wiki/extensions/Translate/webservices/TranslationWebServiceInvalidInputException.php
new file mode 100644
index 00000000..e8ef9d08
--- /dev/null
+++ b/www/wiki/extensions/Translate/webservices/TranslationWebServiceInvalidInputException.php
@@ -0,0 +1,20 @@
+<?php
+/**
+ * Contains code related to web service support.
+ *
+ * @file
+ * @author Niklas Laxström
+ * @license GPL-2.0-or-later
+ */
+
+/**
+ * Used to signal that the requested input is rejected and cannot be used with
+ * an external web service. This is in contrast to a failure in the web service
+ * itself that is not in our control. Most common case for this is input that is
+ * too long.
+ * service itself.
+ * @since 2017.04
+ * @ingroup TranslationWebService
+ */
+class TranslationWebServiceInvalidInputException extends Exception {
+}