2 class MalformedHrnException(Exception):
3 def __init__(self, value):
6 return repr(self.value)
8 class TreeException(Exception):
9 def __init__(self, value):
12 return repr(self.value)
14 class NonexistingRecord(Exception):
15 def __init__(self, value):
18 return repr(self.value)
20 class ExistingRecord(Exception):
21 def __init__(self, value):
24 return repr(self.value)
26 class NonexistingCredType(Exception):
27 def __init__(self, value):
30 return repr(self.value)
32 class NonexistingFile(Exception):
33 def __init__(self, value):
36 return repr(self.value)
38 class InvalidRPCParams(Exception):
39 def __init__(self, value):
42 return repr(self.value)
44 # SMBAKER exceptions follow
46 class ConnectionKeyGIDMismatch(Exception):
47 def __init__(self, value):
50 return repr(self.value)
52 class MissingCallerGID(Exception):
53 def __init__(self, value):
56 return repr(self.value)
58 class RecordNotFound(Exception):
59 def __init__(self, value):
62 return repr(self.value)
64 class UnknownGeniType(Exception):
65 def __init__(self, value):
68 return repr(self.value)
70 class MissingAuthority(Exception):
71 def __init__(self, value):
74 return repr(self.value)
76 class PlanetLabRecordDoesNotExist(Exception):
77 def __init__(self, value):
80 return repr(self.value)
82 class PermissionError(Exception):
83 def __init__(self, value):
86 return repr(self.value)
88 class InsufficientRights(Exception):
89 def __init__(self, value):
92 return repr(self.value)
94 class MissingDelegateBit(Exception):
95 def __init__(self, value):
98 return repr(self.value)
100 class ChildRightsNotSubsetOfParent(Exception):
101 def __init__(self, value):
104 return repr(self.value)
106 class CertMissingParent(Exception):
107 def __init__(self, value):
110 return repr(self.value)
112 class CertNotSignedByParent(Exception):
113 def __init__(self, value):
116 return repr(self.value)
118 class GidInvalidParentHrn(Exception):
119 def __init__(self, value):
122 return repr(self.value)
124 class SliverDoesNotExist(Exception):
125 def __init__(self, value):
128 return repr(self.value)