Revision 38205
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureIndex.java | ||
---|---|---|
262 | 262 |
insert(set); |
263 | 263 |
index.setValid(true); |
264 | 264 |
} |
265 |
} catch (IllegalStateException e) { |
|
266 |
// The feature store has entered in editing or |
|
267 |
// append mode again, cancel indexing. |
|
268 |
cancel(); |
|
265 | 269 |
} finally { |
266 | 270 |
DisposeUtils.dispose(set); |
267 | 271 |
} |
... | ... | |
288 | 292 |
notify(FeatureStoreNotification.INDEX_FILLING_SUCCESS); |
289 | 293 |
} |
290 | 294 |
taskStatus.terminate(); |
295 |
} catch (IllegalStateException e) { |
|
296 |
// The feature store has entered in editing or |
|
297 |
// append mode again, cancel indexing. |
|
298 |
taskStatus.cancel(); |
|
291 | 299 |
} catch (RuntimeException e) { |
292 | 300 |
taskStatus.abort(); |
293 | 301 |
throw e; |
Also available in: Unified diff