Gaudi Framework, version v24r2

Home   Generated: Wed Dec 4 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 340 of file Variable.py.

Constructor & Destructor Documentation

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

Definition at line 342 of file Variable.py.

343  def __init__(self, value, code):
344  super(EnvError, self).__init__()
345  self.val = value
self.code = code

Member Function Documentation

def EnvConfig.Variable.EnvError.__str__ (   self)

Definition at line 346 of file Variable.py.

347  def __str__(self):
348  if self.code == 'undefined':
349  return 'Reference to undefined environment element: "'+self.val +'".'
350  elif self.code == 'ref2var':
351  return 'Reference to list from the middle of string.'
352  elif self.code == 'redeclaration':
353  return 'Wrong redeclaration of environment element "'+self.val+'".'

Member Data Documentation

EnvConfig.Variable.EnvError.code

Definition at line 345 of file Variable.py.

EnvConfig.Variable.EnvError.val

Definition at line 344 of file Variable.py.


The documentation for this class was generated from the following file:
Generated at Wed Dec 4 2013 14:33:20 for Gaudi Framework, version v24r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004