Package SatStress :: Module SatStress :: Class NameValueFileDuplicateNameError
[frames] | no frames]

Class NameValueFileDuplicateNameError

source code

              object --+                
                       |                
exceptions.BaseException --+            
                           |            
        exceptions.Exception --+        
                               |        
                           Error --+    
                                   |    
                  NameValueFileError --+
                                       |
                                      NameValueFileDuplicateNameError

Indicates multiple copies of the same name in an input file.

Instance Methods
 
__init__(self, nvf, name)
Stores the file and the NAME that was found to be multiply defined.
source code
 
__str__(self)
str(x)
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__

Inherited from object: __hash__, __reduce_ex__

Properties

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details

__init__(self, nvf, name)
(Constructor)

source code 

Stores the file and the NAME that was found to be multiply defined.

NAME is the key, which has been found to be multiply defined in the input file, nvf.

Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)