EXCEPTION_WRONG_PARENT_ERROR

Code Value: 9

This exception is thrown when an incorrect parent/child relationship error is encountered during a PBDOM operation.

Method calls in which this exception might be thrown include InsertContent and RemoveContent. These methods involve at least one PBDOM_OBJECT parameter that is assumed to be a child of the PBDOM_OBJECT to which the method is applied. If this parameter is not a child of the current PBDOM_OBJECT, this exception is thrown.