Package gnue :: Package common :: Package utils :: Module tree :: Class DuplicateDescendantNameError
[show private | hide private]

Class DuplicateDescendantNameError

Exception --+        
            |        
        Error --+    
                |    
      SystemError --+
                    |
                   DuplicateDescendantNameError


Duplicate descendant name for node type.

Changing the node name or the parent of this node as requested would result in a (new) ancestor of this node having two descendants of the same type with the same name. This is only a problem if this ancestor maintains a dictionary of the descendants of this type.

Note that after this exception has happened, the tree is in an inconsistent state.
Method Summary
  __init__(self, descendant_name, descendant_type, ancestor_node)
    Inherited from Exception
  __getitem__(...)
  __str__(...)

Method Details

__init__(self, descendant_name, descendant_type, ancestor_node)
(Constructor)

Overrides:
gnue.common.base.errors.SystemError.__init__


GNUe Home

Public API

Developer's Corner