Revision 5136 org.gvsig.raster/trunk/org.gvsig.raster/org.gvsig.raster.fmap/src/main/java/org/gvsig/raster/fmap/layers/DefaultFLyrRaster.java

View differences:

DefaultFLyrRaster.java
266 266
	public void wakeUp(){
267 267
		try {
268 268
			reload();
269
		} catch (ReloadLayerException e) {
269
		    enableAwake();
270
		} catch (ReloadLayerException | NotAvailableStateException e) {
270 271
			// No se ha podido recuperar la capa con exito
271 272
		}
272 273
	}
......
1624 1625
			state.disableStopped();
1625 1626
	}
1626 1627

  
1627
	public void enableAwake() throws NotAvailableStateException {state.enableAwake();}
1628
	public void enableAwake() throws NotAvailableStateException {
1629
        if(state != null) {
1630
            state.enableAwake();
1631
        }
1632
	}
1628 1633

  
1629 1634
	public void enableClosed() throws NotAvailableStateException {
1630 1635
		if(state != null)

Also available in: Unified diff