Back to index

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

List of all members.

Public Member Functions

def __init__
def __repr__
def __str__

Public Attributes

 msg

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 xdrlib.py.


Constructor & Destructor Documentation

def xdrlib.Error.__init__ (   self,
  msg 
)

Definition at line 23 of file xdrlib.py.

00023 
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 xdrlib.py.

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

Definition at line 27 of file xdrlib.py.

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


Member Data Documentation

Definition at line 24 of file xdrlib.py.


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