summaryrefslogtreecommitdiff
path: root/plugin.video.mediathekview/classes/exceptions.py
diff options
context:
space:
mode:
authorLeo Moll <leo.moll@dtms.de>2018-01-11 12:16:45 +0100
committerMartijn Kaijser <martijn@xbmc.org>2018-01-15 18:48:50 +0100
commite5d0f50b8d39ab7fd745b8f384ec622f6b0df5d9 (patch)
tree330896b0ec477109bcf87798feb7076a65588c45 /plugin.video.mediathekview/classes/exceptions.py
parent7614cf25cf45728579713777796a41bed914fe05 (diff)
[plugin.video.mediathekview] 0.3.4
Diffstat (limited to 'plugin.video.mediathekview/classes/exceptions.py')
-rw-r--r--plugin.video.mediathekview/classes/exceptions.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugin.video.mediathekview/classes/exceptions.py b/plugin.video.mediathekview/classes/exceptions.py
new file mode 100644
index 0000000..53d7f14
--- /dev/null
+++ b/plugin.video.mediathekview/classes/exceptions.py
@@ -0,0 +1,9 @@
+# -*- coding: utf-8 -*-
+# Copyright 2017 Leo Moll
+#
+
+class DatabaseCorrupted( RuntimeError ):
+ """This exception is raised when the database throws errors during update"""
+
+class DatabaseLost( RuntimeError ):
+ """This exception is raised when the connection to the database is lost during update"""