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

This exception is raised when a copy of a file has different content than the original. More...

Detailed Description

This exception is raised when a copy of a file has different content than the original.

Definition at line 116 of file fileop.py.

Inheritance diagram for produtil.fileop.VerificationFailed:
produtil.fileop.DeliveryFailed

Public Member Functions

def __init__ (self, message, fromfile, tofile, verifyfile)
 VerificationFailed constructor. More...
 
def __str__ (self)
 Human-readable description of this error. More...
 
def __repr__ (self)
 Pythonic representation of this error. More...
 
- Public Member Functions inherited from produtil.fileop.DeliveryFailed
def __init__ (self, message, fromfile, tofile)
 DeliveryFailed constructor. More...
 
def __str__ (self)
 Human-readable description of this error. More...
 
def __repr__ (self)
 Pythonic representation of this error. More...
 

Public Attributes

 verifyfile
 The file to verify.
 
- Public Attributes inherited from produtil.fileop.DeliveryFailed
 message
 String description of the problem.
 
 fromfile
 The source file.
 
 tofile
 The target file.
 

Constructor & Destructor Documentation

def produtil.fileop.VerificationFailed.__init__ (   self,
  message,
  fromfile,
  tofile,
  verifyfile 
)

VerificationFailed constructor.

Parameters
messagewhy the delivery failed
fromfilewhat was being delivered
tofiledelivery destination
verifyfiletemporary file that failed verification

Definition at line 119 of file fileop.py.

Member Function Documentation

def produtil.fileop.VerificationFailed.__repr__ (   self)

Pythonic representation of this error.

Definition at line 134 of file fileop.py.

Referenced by produtil.prog.Runner.__str__().

def produtil.fileop.VerificationFailed.__str__ (   self)

Human-readable description of this error.

Definition at line 130 of file fileop.py.


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