Revision 43215 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/FLayer.java

View differences:

FLayer.java
388 388
	 * @see #getNumErrors()
389 389
	 * @see #getErrors()
390 390
	 */
391
	public BaseException getError(int i);
391
	public Throwable getError(int i);
392 392

  
393 393
    /**
394 394
     * Adds an error reason that describes this layer's wrong status.
......
400 400
     * @see #getError(int)
401 401
     * @see #getErrors()
402 402
     */
403
	public void addError(BaseException exception);
403
	public void addError(Throwable exception);
404 404

  
405
        public void setError(Exception ex);
405
    public void setError(Throwable ex);
406 406
        
407 407
	/**
408 408
	 * Returns a list with all layer errors.
......
412 412
	 * @see #getError(int)
413 413
	 * @see #getNumErrors()
414 414
	 */
415
	public List getErrors();
415
	public List<Throwable> getErrors();
416 416
	/**
417 417
	 * <p>Changes the status of availability of this layer.</p>
418 418
	 * <p>One layer is available if the source of data is on-line.</p>

Also available in: Unified diff