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 / IllegalFeatureTypeException.java @ 40435
History | View | Annotate | Download (565 Bytes)
1 |
package org.gvsig.fmap.dal.feature.exception; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.dal.exception.DataException; |
4 |
|
5 |
public class IllegalFeatureTypeException extends DataException { |
6 |
|
7 |
/**
|
8 |
*
|
9 |
*/
|
10 |
private static final long serialVersionUID = -3151888912258726109L; |
11 |
private final static String MESSAGE_FORMAT = "Feature type not allowed for the store '%(store)s'."; |
12 |
private final static String MESSAGE_KEY = "_IllegalFeatureTypeException"; |
13 |
|
14 |
public IllegalFeatureTypeException(String store) { |
15 |
super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
16 |
setValue("store", store);
|
17 |
} |
18 |
} |