addThreatVariation( threat_model );
Vector new_stress_set = new Vector();  _stress_graph.add( threat_mi, new_stress_set );  logDebug( "Added " + new_stress_set.size() + " new stresses. Current Stress Graph: " + _stress_graph.toString() );             Enumeration stress_enum = new_stress_set.elements(); while ( stress_enum.hasMoreElements() ) {  StressInstance stress = (StressInstance) stress_enum.nextElement();      AssetType asset_type = stress.getAffectedAssetType(); AssetTypeModel asset_type_model = getOrCreateAssetTypeModel( asset_type );  if ( asset_type_model == null ) { logError( "Cannot find AssetTypeModel for asset type: " + asset_type.getName() ); continue; }  try { logDebug( "Adding new stress to asset model: " + stress.getName() );  asset_type_model.addStressInstance( stress );  } catch (BelievabilityException be) { logError( "Cannot add stress " + stress.getName() + " to asset model : " + be.getMessage() ); return; } }
    public void addThreatType( ThreatModelInterface threat_model )    {        logDebug( "addThreatType() called" );        if ( threat_model == null )        {            logError( "addThreatType() sent NULL ThreatModelInterface. " );            return;        }        addThreatVariation( threat_model );    } // method addThreatModel