CIS: ftp transfer API implemented
[living-lab-site.git] / cis / api / api_exceptions.py
diff --git a/cis/api/api_exceptions.py b/cis/api/api_exceptions.py
new file mode 100644 (file)
index 0000000..fa03c33
--- /dev/null
@@ -0,0 +1,21 @@
+#!/usr/bin/env python
+
+"""
+This module implements exceptions raised in Content Ingestion Server.
+"""
+
+class NotImplementedException(Exception):
+    def __init__(self, value):
+        self.value = value
+
+    def __str__(self):
+        return repr(self.value)
+
+class TranscodingException(Exception):
+    pass
+
+class ThumbExtractionException(Exception):
+    pass
+
+class FileTransferException(Exception):
+    pass