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
[legend]
Collaboration diagram for xmlrpc.client.Fault:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def __repr__
def __str__

Public Attributes

 faultCode
 faultString

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.

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

Definition at line 239 of file client.py.


Constructor & Destructor Documentation

def xmlrpc.client.Fault.__init__ (   self,
  faultCode,
  faultString,
  extra 
)

Definition at line 241 of file client.py.

00241 
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 client.py.

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

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

Definition at line 194 of file client.py.

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


Member Data Documentation

Definition at line 243 of file client.py.

Definition at line 244 of file client.py.


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