logDebug( "connectAndRecurse(): Maximum recursion depth reached.");
if ( _logger.isDebugEnabled() ) _logger.debug( "connectAndRecurse(): Maximum recursion depth reached.");
    void connectAndRecurse( StressInstance stress, Vector new_stress_set )    {        if ( stress == null )            return;        EventDescription event = stress.getEventDescription();        if ( event == null )        {            logDetail( "NULL event found for stress instance "                      + stress.getName() );            return;        }        // We need to walk the entire causation path and add every        TransitiveEffectDescription caused_ted = event.getTransitiveEffect();        // If there is no transitive effect, then we are done.        //        if ( caused_ted == null )        {            logDetail( "No transitve effect for stress " + stress.getName() );            return;        }        if ( _recursion_depth > MAX_RECURSION_DEPTH )        {            logDebug( "connectAndRecurse(): Maximum recursion depth reached.");            return;        }        _recursion_depth += 1;        TransitiveEffectModel caused_tem = caused_ted.getInstantiation();           StressInstance caused_stress;        if ( caused_tem == null )        {            logDetail( "No TransitiveEffectModel found for"                      + " TransitiveEffectDescription of: "                       + stress.getName() );            caused_stress = add( caused_ted, new_stress_set );        }        else        {            logDetail( "Found transitve effect model for stress "                      + stress.getName());            caused_stress = add( caused_tem, new_stress_set );            if ( caused_stress == null )            {                logDebug( "Unknown stress object type. Ignoring." );                _recursion_depth -= 1;                return;            }        }        // This creates the linkage up the causation stream.        //        caused_stress.addParent( stress );        _recursion_depth -= 1;    } // method connectAndRecurse