Code style, fix doc comments
Use InvalidParentException for inconsistencies

Provides better control of how to handle this than
the warning that was generated before.
Improve method names for testdox output