cis notified web server of a job completion; upload form interface and validation...
[living-lab-site.git] / cis / cis_exceptions.py
1 #!/usr/bin/env python
2
3 """
4 This module implements exceptions raised in Content Ingestion Server.
5 """
6
7 class NotImplementedException(Exception):
8     def __init__(self, value):
9         self.value = value
10
11     def __str__(self):
12         return repr(self.value)
13
14 class FileAlreadyExistsException(Exception):
15     pass
16
17 class TranscodingException(Exception):
18     pass
19
20 class ThumbExtractionException(Exception):
21     pass
22
23 class AVInfoException(Exception):
24     pass
25
26 class FileTransferException(Exception):
27     pass