Revision 45738 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/paging/impl/FeaturePagingHelperImpl.java

View differences:

FeaturePagingHelperImpl.java
363 363
            if (featSet != null) {
364 364
                try {
365 365
                    featSet.dispose();
366
                    featSet = null;
366 367
                } catch (Exception ex) {
367 368
                    LOG.info("Error while disposing featset.", ex);
368 369
                }
......
529 530
        try {
530 531
            loadDataFromFeatureSet(page, 0, featureSet, firstPosition,
531 532
                    getCalculator().getCurrentPageSize(), null);
532
        } catch (DataException ex) {
533
        } catch (Exception ex) {
533 534
            throw ex;
534 535
        } finally {
535 536
            // This is the feature set we dont want to lose it
......
580 581
            }, initialIndex, howMany);
581 582
        } catch (VisitCanceledException ex) {
582 583
            // Do nothing
583
        } catch (BaseException e) {
584
        } catch (Exception e) {
584 585
            if (e instanceof DataException) {
585 586
                throw ((DataException) e);
586 587
            } else {

Also available in: Unified diff