try { outputStream.close( ); } catch ( IOException e ) { throw new DataException( ResourceConstants.RD_SAVE_ERROR, e ); }
	void saveQueryDefn( ) throws DataException	{		OutputStream outputStream;		if ( queryDefn instanceof QueryDefinition				&& ( (QueryDefinition) queryDefn ).getQueryResultsID( ) == null )		{			outputStream = streamManager.getOutStream( DataEngineContext.ORIGINAL_QUERY_DEFN_STREAM,					StreamManager.ROOT_STREAM,					StreamManager.SELF_SCOPE );			QueryDefnUtil.saveBaseQueryDefn( outputStream, queryDefn );		}		outputStream = streamManager.getOutStream( DataEngineContext.QUERY_DEFN_STREAM,				StreamManager.ROOT_STREAM,				StreamManager.SELF_SCOPE );		QueryDefnUtil.saveBaseQueryDefn( outputStream, queryDefn );		try		{			outputStream.close( );		}		catch ( IOException e )		{			throw new DataException( ResourceConstants.RD_SAVE_ERROR, e );		}	}