+ xmlrpc_client.Fault.__init__(self, GENICODE.ERROR, faultString)
+
+
+class MissingTrustedRoots(SfaFault):
+
+ def __init__(self, value, extra=None):
+ self.value = value
+ faultString = "Trusted root directory does not exist: %(value)s" % locals(
+ )
+ SfaFault.__init__(self, GENICODE.SERVERERROR, faultString, extra)
+
+ def __str__(self):
+ return repr(self.value)
+
+
+class MissingSfaInfo(SfaFault):
+
+ def __init__(self, value, extra=None):
+ self.value = value
+ faultString = "Missing information: %(value)s" % locals()
+ SfaFault.__init__(self, GENICODE.ERROR, faultString, extra)
+
+ def __str__(self):
+ return repr(self.value)
+
+
+class InvalidRSpec(SfaFault):
+
+ def __init__(self, value, extra=None):
+ self.value = value
+ faultString = "Invalid RSpec: %(value)s" % locals()
+ SfaFault.__init__(self, GENICODE.ERROR, faultString, extra)
+
+ def __str__(self):
+ return repr(self.value)
+
+
+class InvalidRSpecVersion(SfaFault):
+
+ def __init__(self, value, extra=None):
+ self.value = value
+ faultString = "Invalid RSpec version: %(value)s" % locals()
+ SfaFault.__init__(self, GENICODE.BADVERSION, faultString, extra)
+
+ def __str__(self):
+ return repr(self.value)
+
+
+class UnsupportedRSpecVersion(SfaFault):
+
+ def __init__(self, value, extra=None):
+ self.value = value
+ faultString = "Unsupported RSpec version: %(value)s" % locals()
+ SfaFault.__init__(self, GENICODE.UNSUPPORTED, faultString, extra)
+
+ def __str__(self):
+ return repr(self.value)
+
+
+class InvalidRSpecElement(SfaFault):
+
+ def __init__(self, value, extra=None):
+ self.value = value
+ faultString = "Invalid RSpec Element: %(value)s" % locals()
+ SfaFault.__init__(self, GENICODE.ERROR, faultString, extra)
+
+ def __str__(self):
+ return repr(self.value)
+
+
+class InvalidXML(SfaFault):
+
+ def __init__(self, value, extra=None):
+ self.value = value
+ faultString = "Invalid XML Document: %(value)s" % locals()
+ SfaFault.__init__(self, GENICODE.BADARGS, faultString, extra)
+
+ def __str__(self):
+ return repr(self.value)
+
+
+class AccountNotEnabled(SfaFault):