Revision 20913
trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/overviews/OverviewsProcess.java | ||
---|---|---|
18 | 18 |
*/ |
19 | 19 |
package org.gvsig.rastertools.overviews; |
20 | 20 |
|
21 |
import org.apache.log4j.Logger; |
|
22 | 21 |
import org.gvsig.addo.BuildingOverviewsException; |
23 | 22 |
import org.gvsig.addo.IOverviewIncrement; |
24 | 23 |
import org.gvsig.addo.Jaddo; |
... | ... | |
26 | 25 |
import org.gvsig.fmap.raster.layers.FLyrRasterSE; |
27 | 26 |
import org.gvsig.raster.Configuration; |
28 | 27 |
import org.gvsig.raster.RasterProcess; |
28 |
import org.gvsig.raster.util.RasterToolsUtil; |
|
29 | 29 |
|
30 | 30 |
import com.iver.andami.PluginServices; |
31 | 31 |
|
... | ... | |
79 | 79 |
if (externalActions != null) |
80 | 80 |
externalActions.end(rasterSE); |
81 | 81 |
} catch (BuildingOverviewsException e) { |
82 |
Logger.getLogger(this.getClass().getName()).debug("No se han podido generar las overviews", e); |
|
82 |
if (incrementableTask != null) |
|
83 |
incrementableTask.hideWindow(); |
|
84 |
RasterToolsUtil.messageBoxError("error_create_overviews", this); |
|
83 | 85 |
} catch (WritingException e) { |
84 |
Logger.getLogger(this.getClass().getName()).debug("No se han podido generar las overviews", e); |
|
86 |
if (incrementableTask != null) |
|
87 |
incrementableTask.hideWindow(); |
|
88 |
RasterToolsUtil.messageBoxError("error_write_overviews", this); |
|
85 | 89 |
} |
86 | 90 |
} |
87 | 91 |
|
Also available in: Unified diff