EnvConfig.Variable.EnvError Class Reference
Inheritance diagram for EnvConfig.Variable.EnvError:
Collaboration diagram for EnvConfig.Variable.EnvError:

Public Member Functions

def __init__ (self, value, code)
 
def __str__ (self)
 

Public Attributes

 val
 
 code
 

Detailed Description

Class which defines errors for locals operations.

Definition at line 342 of file Variable.py.

Constructor & Destructor Documentation

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

Definition at line 344 of file Variable.py.

344  def __init__(self, value, code):
345  super(EnvError, self).__init__()
346  self.val = value
347  self.code = code
def __init__(self, value, code)
Definition: Variable.py:344

Member Function Documentation

def EnvConfig.Variable.EnvError.__str__ (   self)

Definition at line 348 of file Variable.py.

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

Member Data Documentation

EnvConfig.Variable.EnvError.code

Definition at line 347 of file Variable.py.

EnvConfig.Variable.EnvError.val

Definition at line 346 of file Variable.py.


The documentation for this class was generated from the following file:
  • InstallArea/x86_64-slc6-gcc48-opt/scripts/EnvConfig/Variable.py