1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 """
23 serializable Flumotion exceptions
24 """
25
26 from twisted.spread import pb
27
29 "An operation was cancelled"
30
34 """
35 Error during parsing of configuration
36
37 args[0]: str
38 """
40 "The given project does not exist"
41
43 "SSL is not available"
44
45
47 "General connection error"
48
51
54
57
60
62 "Connection attempt cancelled"
63
65 "Manager not connected"
66
69
72
74 "An error occurred while trying to parse the pipeline"
75
76
78 """
79 Generic remote method error.
80
81 @ivar methodName: name of the method
82 @type methodName: str
83 @ivar debug: optional additional debug message
84 @type debug: str
85 """
86 - def __init__(self, methodName, debug=None):
91
92
98
100 "Error while running remote code, before getting a result"
101
103 "A remote method generated a failure result"
104
106 "The remote method does not exist"
107
108
109
110 -class EntrySyntaxError(pb.Error):
111 "Syntax error while getting entry point in a bundle"
112
113
115 "The component is not ready yet"
116
118 "An error occurred while setting a property on the component"
119
121 "The component does not have a perspective"
122
124 "A system error, is usually fatal"
125
127 "A syntax error during a reload of a module"
128
130 "The remote object was in the wrong state for this command"
131
133 "You do not have the necessary privileges to complete this operation"
134
135
137 """
138 Error while doing something to a component.
139
140 args[0]: ComponentState
141 """
142
143
145 "Component is sleeping, cannot handle request"
146
148 "Component told to start, but is already starting"
149
151 "Component told to start, but is already running"
152
154 "Component is in the wrong mood to perform the given function"
155
157 "Component does not have its worker available"
158
160 """
161 Component is busy doing something.
162
163 args[0]: ComponentState
164 args[1]: str
165 """
166
168 """
169 An error in the configuration of the component.
170
171 args[0]: ComponentState
172 args[1]: str
173 """
174
176 """
177 A component name is already used.
178
179 args[0]: L{flumotion.common.common.componentId}
180 """
181
183 """
184 An error during creation of a component. Can be raised during a
185 remote_create call on a worker.
186 """
187
189 """
190 An exception that has already been adequately handled, but still needs
191 to be propagated to indicate failure to callers.
192
193 This allows callers and defgens to propagate gracefully without
194 doing a traceback, while still doing tracebacks for unhandled exceptions.
195
196 Only argument is the original exception or failure.
197 """
198
200 """
201 An error during setup of a component. Can be raised during a
202 remote_setup call on a component.
203 """
204
206 """
207 An error during starting of a component. Can be raised during a
208 remote_start call on a component.
209 """
210
212 """
213 An error during setup of a component, that's already handled in a
214 different way (for example, through a message).
215 Can be raised during a remote_setup call on a component.
216 """
217
219 """
220 An error during starting of a component, that's already handled in a
221 different way (for example, through a message).
222 Can be raised during a remote_start call on a component.
223 """
224
226 "A given component or component type does not exist"
227
229 "A given plug type does not exist"
230
231
233 "A given effect or effect type does not exist"
234
236 "Generic Flumotion error"
237
239 "The requested bundle was not found"
240
243
244
246 "Generic GStreamer error"
247
249 """GStreamer-generated error with source, GError and debug string as args"""
250
252 "A needed element is missing"
253