##// END OF EJS Templates
Merge pull request #3527 from minrk/parallelerror...
Matthias Bussonnier -
r11224:e051dca1 merge
parent child Browse files
Show More
@@ -13,7 +13,7 b' Notes'
13 13 """
14 14
15 15 #-----------------------------------------------------------------------------
16 # Copyright (C) 2008-2011 The IPython Development Team
16 # Copyright (C) 2008 The IPython Development Team
17 17 #
18 18 # Distributed under the terms of the BSD License. The full license is in
19 19 # the file COPYING, distributed as part of this software.
@@ -40,125 +40,19 b' class IPythonError(Exception):'
40 40
41 41 pass
42 42
43 # Exceptions associated with the controller objects
44 class ControllerError(IPythonError): pass
45
46 class ControllerCreationError(ControllerError): pass
47
48
49 # Exceptions associated with the Engines
50 class EngineError(IPythonError): pass
51
52 class EngineCreationError(EngineError): pass
53
54 43 class KernelError(IPythonError):
55 44 pass
56 45
57 class NotDefined(KernelError):
58 def __init__(self, name):
59 self.name = name
60 self.args = (name,)
61
62 def __repr__(self):
63 return '<NotDefined: %s>' % self.name
64
65 __str__ = __repr__
66
67
68 class QueueCleared(KernelError):
69 pass
70
71
72 class IdInUse(KernelError):
73 pass
74
75
76 class ProtocolError(KernelError):
77 pass
78
79
80 class ConnectionError(KernelError):
81 pass
82
83
84 class InvalidEngineID(KernelError):
85 pass
86 46
87 47
88 48 class NoEnginesRegistered(KernelError):
89 49 pass
90 50
91 51
92 class InvalidClientID(KernelError):
93 pass
94
95
96 class InvalidDeferredID(KernelError):
97 pass
98
99
100 class SerializationError(KernelError):
101 pass
102
103
104 class MessageSizeError(KernelError):
105 pass
106
107
108 class PBMessageSizeError(MessageSizeError):
109 pass
110
111
112 class ResultNotCompleted(KernelError):
113 pass
114
115
116 class ResultAlreadyRetrieved(KernelError):
117 pass
118
119 class ClientError(KernelError):
120 pass
121
122
123 52 class TaskAborted(KernelError):
124 53 pass
125 54
126 55
127 class TaskTimeout(KernelError):
128 pass
129
130
131 class NotAPendingResult(KernelError):
132 pass
133
134
135 class UnpickleableException(KernelError):
136 pass
137
138
139 class AbortedPendingDeferredError(KernelError):
140 pass
141
142
143 class InvalidProperty(KernelError):
144 pass
145
146
147 class MissingBlockArgument(KernelError):
148 pass
149
150
151 class StopLocalExecution(KernelError):
152 pass
153
154
155 class SecurityError(KernelError):
156 pass
157
158
159 class FileTimeoutError(KernelError):
160 pass
161
162 56 class TimeoutError(KernelError):
163 57 pass
164 58
General Comments 0
You need to be logged in to leave comments. Login now