HWRF  trunk@4391
Public Member Functions | Public Attributes | List of all members
produtil.fileop.FileOpError Class Reference

This is the superclass of several exceptions relating to multi-file operations in produtil.fileop. More...

Detailed Description

This is the superclass of several exceptions relating to multi-file operations in produtil.fileop.

Definition at line 27 of file fileop.py.

Inheritance diagram for produtil.fileop.FileOpError:
produtil.fileop.CannotFindExe produtil.fileop.CannotLinkMulti produtil.fileop.FileOpErrors produtil.fileop.FindExeInvalidExeName produtil.fileop.InvalidExecutable produtil.fileop.RelativePathError produtil.fileop.UnexpectedAbsolutePath produtil.fileop.WrongSymlink

Public Member Functions

def __init__
 FileOpError constructor. More...
 
def __str__ (self)
 A string description of the problem. More...
 
def __iter__ (self)
 Iterates over a list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair. More...
 

Public Attributes

 message
 The error message.
 
 filename
 The name of the problematic file.
 
 more
 A list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair. More...
 

Constructor & Destructor Documentation

def produtil.fileop.FileOpError.__init__ (   self,
  message,
  filename,
  more = [] 
)

FileOpError constructor.

Parameters
messagethe error message
filenamethe name of the problematic file
morea list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair.

Definition at line 30 of file fileop.py.

Member Function Documentation

def produtil.fileop.FileOpError.__iter__ (   self)

Iterates over a list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair.

Definition at line 54 of file fileop.py.

def produtil.fileop.FileOpError.__str__ (   self)

A string description of the problem.

Definition at line 51 of file fileop.py.

Member Data Documentation

produtil.fileop.FileOpError.more

A list of tuples, (from,to,message) where from is the source file, to is the destination file and message is a description of the problem with that pair.

Definition at line 39 of file fileop.py.

Referenced by produtil.fileop.FileOpError.__iter__().


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