Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
xdrlib.Error Class Reference
Inheritance diagram for xdrlib.Error:
Inheritance graph
Collaboration diagram for xdrlib.Error:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def __repr__
def __str__

Public Attributes


Detailed Description

Exception class for this module. Use:

except xdrlib.Error, var:
    # var has the Error instance for the exception

Public ivars:
    msg -- contains the message

Definition at line 13 of file

Constructor & Destructor Documentation

def xdrlib.Error.__init__ (   self,

Definition at line 23 of file

00024     def __init__(self, msg):
        self.msg = msg

Here is the caller graph for this function:

Member Function Documentation

def xdrlib.Error.__repr__ (   self)

Definition at line 25 of file

00026     def __repr__(self):
        return repr(self.msg)
def xdrlib.Error.__str__ (   self)

Definition at line 27 of file

00028     def __str__(self):
00029         return str(self.msg)

Member Data Documentation

Definition at line 24 of file

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