svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / feature / exception / PersistenceCantFindFeatureTypeException.java @ 40435
History | View | Annotate | Download (755 Bytes)
1 |
package org.gvsig.fmap.dal.feature.exception; |
---|---|
2 |
|
3 |
import org.gvsig.tools.persistence.exception.PersistenceException; |
4 |
|
5 |
|
6 |
public class PersistenceCantFindFeatureTypeException extends PersistenceException { |
7 |
|
8 |
|
9 |
/**
|
10 |
*
|
11 |
*/
|
12 |
private static final long serialVersionUID = 1254048284332411193L; |
13 |
private final static String MESSAGE_FORMAT = "Can't find feature type (%(featureTypeName)) in data store (%(storeName)) to restore."; |
14 |
private final static String MESSAGE_KEY = "_PersistenceCantFindFeatureTypeException"; |
15 |
|
16 |
public PersistenceCantFindFeatureTypeException(String storeName, String featureTypeName){ |
17 |
super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
18 |
this.setValue("storeName", storeName); |
19 |
this.setValue("featureTypeName", featureTypeName); |
20 |
} |
21 |
|
22 |
} |