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)