Revision 1023 org.gvsig.raster.cache/trunk/org.gvsig.raster.cache/org.gvsig.raster.cache.lib.impl/src/main/java/org/gvsig/raster/cache/buffer/impl/io/GdalRead.java

View differences:

GdalRead.java
10 10
import org.gvsig.jgdal.GdalRasterBand;
11 11
import org.gvsig.jgdal.GeoTransform;
12 12
import org.gvsig.raster.cache.buffer.Buffer;
13
import org.gvsig.raster.cache.buffer.exception.ProcessInterruptedException;
13 14
/**
14 15
 * Lectura de datos de un TIFF de disco
15 16
 * @author Nacho Brodin (nachobrodin@gmail.com)
......
200 201
	 * @return Object que es un array unidimendional del tipo de datos del raster
201 202
	 * @throws GdalException
202 203
	 */
203
	public Object readBlock(int posX, int posY, int blockWidth, int blockHeight) throws GdalException, InterruptedException {
204
	public Object readBlock(int posX, int posY, int blockWidth, int blockHeight) throws GdalException, ProcessInterruptedException {
204 205
		bBandNr = super.getRasterCount();
205 206
				
206 207
		GdalRasterBand[] gdalBand = new GdalRasterBand[bBandNr];
......
271 272
	 * @return Object que es un array unidimendional del tipo de datos del raster
272 273
	 * @throws GdalException
273 274
	 */
274
	public Object readBlock(int posX, int posY, int blockWidth, int blockHeight, int iBand) throws GdalException, InterruptedException {
275
	public Object readBlock(int posX, int posY, int blockWidth, int blockHeight, int iBand) throws GdalException, ProcessInterruptedException {
275 276
				
276 277
		GdalRasterBand gdalBand = null;
277 278
		gdalBand = super.getRasterBand(iBand + 1);

Also available in: Unified diff