svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / OpenErrorHandler.java @ 40333
History | View | Annotate | Download (450 Bytes)
1 | 35763 | fdiaz | package org.gvsig.fmap.dal; |
---|---|---|---|
2 | |||
3 | import org.gvsig.fmap.dal.DataParameters; |
||
4 | |||
5 | 35925 | fdiaz | /**
|
6 | * This class is used to handle errors that occur at not finding the data source
|
||
7 | * by opening a layer.
|
||
8 | *
|
||
9 | */
|
||
10 | 35763 | fdiaz | public interface OpenErrorHandler { |
11 | 35925 | fdiaz | |
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 | |||
21 | 35763 | fdiaz | public boolean canRetryOpen(Exception e, DataParameters parameters); |
22 | |||
23 | } |