def __init__(self, tree):
            super(BasicPathfinder.MaxItersReachedException, self).__init__(
                "Maximum number of  iterations reached while searching "
                "for a path\n\t source: {0}\n\t target: {1}".format(tree.source, tree.target))