HWRF  trunk@4391
Public Member Functions | Public Attributes | List of all members
hwrf.exceptions.NamelistKeyError Class Reference

Raised when an hwrf.namelist is asked for a key that does not exist. More...

Detailed Description

Raised when an hwrf.namelist is asked for a key that does not exist.

Definition at line 40 of file exceptions.py.

Inheritance diagram for hwrf.exceptions.NamelistKeyError:

Public Member Functions

def __init__ (self, message, section, var)
 Constructor. More...
 
def __str__ (self)
 Generates a string description of this exception. More...
 
def __repr__ (self)
 Generates a string representation of this object. More...
 

Public Attributes

 section
 Raised when an hwrf.namelist is asked for a key that does not exist. More...
 
 var
 the option that was requested
 
 message
 the exception message
 

Constructor & Destructor Documentation

def hwrf.exceptions.NamelistKeyError.__init__ (   self,
  message,
  section,
  var 
)

Constructor.

Parameters
messagethe string message
sectionthe section that was searched
varthe option that was requested

Definition at line 52 of file exceptions.py.

Member Function Documentation

def hwrf.exceptions.NamelistKeyError.__repr__ (   self)

Generates a string representation of this object.

Definition at line 67 of file exceptions.py.

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

def hwrf.exceptions.NamelistKeyError.__str__ (   self)

Generates a string description of this exception.

Definition at line 61 of file exceptions.py.

Member Data Documentation

hwrf.exceptions.NamelistKeyError.section

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