Revision 42811 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.mapcontext/org.gvsig.fmap.mapcontext.api/src/main/java/org/gvsig/fmap/mapcontext/layers/FLayerStatus.java

View differences:

FLayerStatus.java
157 157
		layerErrors.add(error);
158 158
	}
159 159

  
160
        public void setLayerError(Exception ex) {
161
            layerErrors.clear();
162
            layerErrors.add(ex);
163
        }
164
        
160 165
	public FLayerStatus cloneStatus(){
161 166
		FLayerStatus newStatus = new FLayerStatus();
162 167
		newStatus.layerErrors.addAll(this.layerErrors);
......
239 244
	public List getErrors() {
240 245
		return layerErrors;
241 246
	}
242

  
247
        
243 248
	/**
244 249
	 * <p>Returns if has been loaded successfully the driver for managing the layer.</p>
245 250
	 * 

Also available in: Unified diff