Revision 35925
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/OpenErrorHandler.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import org.gvsig.fmap.dal.DataParameters; |
4 | 4 |
|
5 |
/** |
|
6 |
* This class is used to handle errors that occur at not finding the data source |
|
7 |
* by opening a layer. |
|
8 |
* |
|
9 |
*/ |
|
5 | 10 |
public interface OpenErrorHandler { |
6 |
|
|
11 |
|
|
12 |
/** |
|
13 |
* Returns true if the opening can be retried. |
|
14 |
* |
|
15 |
* @param e |
|
16 |
* @param parameters |
|
17 |
* |
|
18 |
* @return true if the opening can be retried. |
|
19 |
*/ |
|
20 |
|
|
7 | 21 |
public boolean canRetryOpen(Exception e, DataParameters parameters); |
8 | 22 |
|
9 | 23 |
} |
Also available in: Unified diff