Revision 27723 branches/v2_0_0_prep/extensions/extRasterTools-SE/src/org/gvsig/rastertools/vectorizacion/process/PotraceProcess.java

View differences:

PotraceProcess.java
28 28
import org.gvsig.fmap.dal.DataManager;
29 29
import org.gvsig.fmap.dal.DataTypes;
30 30
import org.gvsig.fmap.dal.exception.DataException;
31
import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
31 32
import org.gvsig.fmap.dal.feature.EditableFeature;
32 33
import org.gvsig.fmap.dal.feature.EditableFeatureAttributeDescriptor;
33 34
import org.gvsig.fmap.dal.feature.EditableFeatureType;
......
105 106
			RasterToolsUtil.messageBoxError("error_closing_grid", this, e);
106 107
		} catch (RasterDriverException e) {
107 108
			RasterToolsUtil.messageBoxError("error_closing_grid", this, e);
109
		} catch (ValidateDataParametersException e) {
110
			RasterToolsUtil.messageBoxError("error_closing_grid", this, e);
108 111
		} finally {
109 112
			if (incrementableTask != null) {
110 113
				incrementableTask.processFinalize();
......
112 115
			}
113 116
		}
114 117
		if (externalActions != null)
115
			externalActions.end(fileName);	
118
			externalActions.end(fileName);
116 119
	}
117 120

  
118 121
	/**
119 122
	 * Genera la capa vectorial a partir del raster de entrada
120
	 *
123
	 * 
121 124
	 * @param lyr
122 125
	 * @param fileOut
123 126
	 * @param bezierPoints
124
	 * @throws CreateGeometryException 
127
	 * @throws CreateGeometryException
128
	 * @throws ValidateDataParametersException
125 129
	 * @throws Exception
126 130
	 */
127
	public void generatePotrace() throws InterruptedException, RasterDriverException, DataException, CreateGeometryException {
131
	public void generatePotrace() throws InterruptedException,
132
			RasterDriverException, DataException, CreateGeometryException,
133
			ValidateDataParametersException {
128 134
		VectorizationBinding binding = new VectorizationBinding(lyr.getBufferFactory());
129 135
		binding.setPolicy(policy);
130 136
		binding.setDespeckle(despeckle);

Also available in: Unified diff