X-Git-Url: http://p2p-next.cs.pub.ro/gitweb/?a=blobdiff_plain;f=cis%2Fapi%2Fapi_exceptions.py;fp=cis%2Fapi%2Fapi_exceptions.py;h=fa03c335e28d2abfc7cf76428bc356a3556995bf;hb=45ee8a71d6ddceb7257988b7f4ccfd314bac050b;hp=0000000000000000000000000000000000000000;hpb=a95dd065bbaaf656f69903e9a3eed83c326c1437;p=living-lab-site.git diff --git a/cis/api/api_exceptions.py b/cis/api/api_exceptions.py new file mode 100644 index 0000000..fa03c33 --- /dev/null +++ b/cis/api/api_exceptions.py @@ -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