Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
xmlrpc.client.Fault Class Reference

Indicates an XML-RPC fault response package. More...

Inheritance diagram for xmlrpc.client.Fault:
Inheritance graph
Collaboration diagram for xmlrpc.client.Fault:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __repr__
def __str__

Public Attributes


Detailed Description

Indicates an XML-RPC fault response package.

This exception is raised by the unmarshalling layer, if the XML-RPC response contains a fault string. This exception can also used as a class, to generate a fault XML-RPC message.

faultCodeThe XML-RPC fault code.
faultStringThe XML-RPC fault string.
Indicates an XML-RPC fault package.

Definition at line 239 of file

Constructor & Destructor Documentation

def xmlrpc.client.Fault.__init__ (   self,

Definition at line 241 of file

00242     def __init__(self, faultCode, faultString, **extra):
00243         Error.__init__(self)
00244         self.faultCode = faultCode
        self.faultString = faultString

Here is the caller graph for this function:

Member Function Documentation

Definition at line 245 of file

00246     def __repr__(self):
00247         return (
00248             "<Fault %s: %s>" %
00249             (self.faultCode, repr(self.faultString))
00250             )
00252 # --------------------------------------------------------------------
00253 # Special values

def xmlrpc.client.Error.__str__ (   self) [inherited]

Definition at line 194 of file

00195     def __str__(self):
00196         return repr(self)

Member Data Documentation

Definition at line 243 of file

Definition at line 244 of file

The documentation for this class was generated from the following file: