Revision 2247 branches/Fmap_GisPlanet/libraries/libFMap/src/com/iver/cit/gvsig/fmap/operations/strategies/WFSStrategy.java

View differences:

WFSStrategy.java
42 42

  
43 43
import java.awt.Graphics2D;
44 44
import java.awt.image.BufferedImage;
45
import java.io.IOException;
45 46
import java.sql.SQLException;
46 47

  
47 48
import org.cresques.cts.ICoordTrans;
......
91 92
		FBitSet bitSet = selection.getSelection();
92 93
        
93 94
        String strEPSG = viewPort.getProjection().getAbrev().substring(5);
94
        IFeatureIterator geomIt = wfsAdapter.getFeatureIterator(viewPort.getAdjustedExtent(), strEPSG);
95
        IFeatureIterator geomIt=null;
96
        try{
97
        geomIt = wfsAdapter.getFeatureIterator(viewPort.getAdjustedExtent(), strEPSG);
98
        }catch (IOException e) {
99
			throw new DriverException(e);
100
		}
95 101
        VectorialLegend l = (VectorialLegend) ((ClassifiableVectorial) capa).getLegend();
96 102
        int i;
97 103
        FSymbol symbol;

Also available in: Unified diff