root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / exceptions / CreateFeatureException.java @ 24496
History | View | Annotate | Download (560 Bytes)
1 | 24496 | jmvivo | package org.gvsig.fmap.dal.feature.exceptions; |
---|---|---|---|
2 | 23772 | jjdelcerro | |
3 | 24496 | jmvivo | import org.gvsig.fmap.dal.exceptions.DataException; |
4 | 23772 | jjdelcerro | |
5 | public class CreateFeatureException extends DataException { |
||
6 | |||
7 | /**
|
||
8 | *
|
||
9 | */
|
||
10 | private static final long serialVersionUID = -7335241420683266251L; |
||
11 | private final static String MESSAGE_FORMAT = "Can't create feature in store '%(store)s'."; |
||
12 | private final static String MESSAGE_KEY = "_CreateFeatureException"; |
||
13 | |||
14 | public CreateFeatureException(Throwable cause, String store) { |
||
15 | super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
||
16 | setValue("store", store);
|
||
17 | } |
||
18 | } |