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

Class DuplicateChildNameError

Exception --+        
            |        
        Error --+    
                |    
      SystemError --+
                    |
                   DuplicateChildNameError


Duplicate child name.

Changing the node name or the parent of this node as requested would result in the (new) parent having two children with the same node name.

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

Method Details

__init__(self, child_name, parent_node)
(Constructor)

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


GNUe Home

Public API

Developer's Corner