1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
25 """
26 Sqlite2 raised pysqlite2.dbapi2.OperationalError
27 """
28
30 Exception.__init__(self)
31 self.text = text
32
35
46
48 """
49 This exception is raised when we cannot use Gajim remotely'
50 """
51
54
56 return _('Service not available: Gajim is not running, or remote_control is False')
57
59 """
60 D-Bus is not installed or python bindings are missing
61 """
62
65
67 return _('D-Bus is not present on this machine or python module is missing')
68
70 """
71 This exception indicates that there is no session daemon
72 """
73
76
78 return _('Session bus is not available.\nTry reading %(url)s') % \
79 {'url': 'http://trac.gajim.org/wiki/GajimDBus'}
80
82 """
83 This exception indicates that there is no session daemon
84 """
85
88
90 return _('System bus is not available.\nTry reading %(url)s') % \
91 {'url': 'http://trac.gajim.org/wiki/GajimDBus'}
92
94 """
95 A session negotiation failed
96 """
97 pass
98
100 """
101 A message couldn't be decrypted into usable XML
102 """
103 pass
104
106 """
107 The user cancelled an operation
108 """
109 pass
110
112 """
113 LaTeX processing failed for some reason
114 """
115
117 Exception.__init__(self)
118 self.text = text
119
122
124 """
125 This exception is our general exception
126 """
127
129 Exception.__init__(self)
130 self.text = text
131
134