Error regarding factory.print()

In reply to RonakShah:

print() method call on factory prints the state of the uvm_factory, including registered types, instance overrides, and type overrides. While this.print() prints component hierarchy.