Revision 6537 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/LayerFactory.java
LayerFactory.java | ||
---|---|---|
194 | 194 |
//capa.setBroken(true); |
195 | 195 |
//return capa; |
196 | 196 |
//throw new DriverException(e); |
197 |
capa.setUnavailable(true);
|
|
197 |
capa.setAvailable(false);
|
|
198 | 198 |
return capa; |
199 | 199 |
} |
200 | 200 |
|
... | ... | |
403 | 403 |
capa.getShapeType())); |
404 | 404 |
} |
405 | 405 |
} catch (FieldNotFoundException e) { |
406 |
capa.setUnavailable(true);
|
|
406 |
capa.setAvailable(false);
|
|
407 | 407 |
return capa; |
408 | 408 |
//throw new UnsupportedOperationException(e.getMessage()); |
409 | 409 |
} catch (DriverException e) { |
410 |
capa.setUnavailable(true);
|
|
410 |
capa.setAvailable(false);
|
|
411 | 411 |
return capa; |
412 | 412 |
//throw new UnsupportedOperationException(e.getMessage()); |
413 |
} catch (Exception e) { |
|
414 |
capa.setAvailable(false); |
|
415 |
return capa; |
|
413 | 416 |
} |
414 | 417 |
|
415 | 418 |
return capa; |
Also available in: Unified diff