1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 """
18 This module contains BZoo exceptions definition. (even we always hope that such a package will never be used)
19 """
20
22 """
23 Exception occuring when ???.
24 @ivar value: the error message.
25 @type value: string.
26 """
31
33 """
34 Exception occuring when a protocol violation arises.
35 @ivar value: the error message.
36 @type value: string.
37 """
41 return "Unknown type of message %d."%self.value
42
44 """
45 Exception occuring when a connection failure arises.
46 @ivar value: the error message.
47 @type value: string.
48 """
52 return "Unable to connect to server %s."%self.value
53