MythTV  0.26-pre
bliptv_exceptions.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 # -*- coding: UTF-8 -*-
00003 # ----------------------
00004 # Name: bliptv_exceptions - Custom exceptions used or raised by bliptv_api
00005 # Python Script
00006 # Author:  R.D. Vaughan
00007 # Purpose:  Custom exceptions used or raised by bliptv_api
00008 #
00009 # License:Creative Commons GNU GPL v2
00010 # (http://creativecommons.org/licenses/GPL/2.0/)
00011 #-------------------------------------
00012 __title__ ="bliptv_exceptions - Custom exceptions used or raised by bliptv_api";
00013 __author__="R.D. Vaughan"
00014 __version__="v0.2.0"
00015 # 0.1.0 Initial development
00016 # 0.1.1 Documentation review
00017 # 0.2.0 Public release
00018 
00019 __all__ = ["BliptvUrlError", "BliptvHttpError", "BliptvRssError", "BliptvVideoNotFound", "BliptvXmlError"]
00020 
00021 class BliptvBaseError(Exception):
00022     pass
00023 
00024 class BliptvUrlError(BliptvBaseError):
00025     def __repr__(self):    # Display the type of error
00026         return None
00027     # end __repr__
00028 
00029 class BliptvHttpError(BliptvBaseError):
00030     def __repr__(self):    # Display the type of error
00031         return None
00032     # end __repr__
00033 
00034 class BliptvRssError(BliptvBaseError):
00035     def __repr__(self):
00036         return None
00037     # end __repr__
00038 
00039 class BliptvVideoNotFound(BliptvBaseError):
00040     def __repr__(self):
00041         return None
00042     # end __repr__
00043 
00044 class BliptvXmlError(BliptvBaseError):
00045     def __repr__(self):
00046         return None
00047     # end __repr__
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends