Gaudi Framework, version v23r6

Home   Generated: Wed Jan 30 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
EnvConfig.Variable.EnvError Class Reference
Inheritance diagram for EnvConfig.Variable.EnvError:
Inheritance graph
[legend]
Collaboration diagram for EnvConfig.Variable.EnvError:
Collaboration graph
[legend]

Public Member Functions

def __init__
 
def __str__
 

Public Attributes

 val
 
 code
 

Detailed Description

Class which defines errors for locals operations.

Definition at line 335 of file Variable.py.

Constructor & Destructor Documentation

def EnvConfig.Variable.EnvError.__init__ (   self,
  value,
  code 
)

Definition at line 337 of file Variable.py.

338  def __init__(self, value, code):
339  super(EnvError, self).__init__()
340  self.val = value
self.code = code

Member Function Documentation

def EnvConfig.Variable.EnvError.__str__ (   self)

Definition at line 341 of file Variable.py.

342  def __str__(self):
343  if self.code == 'undefined':
344  return 'Reference to undefined environment element: "'+self.val +'".'
345  elif self.code == 'ref2var':
346  return 'Reference to list from the middle of string.'
347  elif self.code == 'redeclaration':
348  return 'Wrong redeclaration of environment element "'+self.val+'".'

Member Data Documentation

EnvConfig.Variable.EnvError.code

Definition at line 340 of file Variable.py.

EnvConfig.Variable.EnvError.val

Definition at line 339 of file Variable.py.


The documentation for this class was generated from the following file:
Generated at Wed Jan 30 2013 17:13:49 for Gaudi Framework, version v23r6 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004