added tree validation exception.