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 / AttributeFeatureTypeNotSuportedException.java @ 40435
History | View | Annotate | Download (837 Bytes)
1 | 40435 | jjdelcerro | package org.gvsig.fmap.dal.feature.exception; |
---|---|---|---|
2 | |||
3 | import org.gvsig.fmap.dal.exception.DataException; |
||
4 | |||
5 | public class AttributeFeatureTypeNotSuportedException extends DataException { |
||
6 | |||
7 | |||
8 | /**
|
||
9 | *
|
||
10 | */
|
||
11 | private static final long serialVersionUID = 7317879648245754186L; |
||
12 | private final static String MESSAGE_FORMAT = "Attribute type %(typeValue)s ('%(typeName)s') of attribute '%(attrname)s' no supported for '%(storeName)s'."; |
||
13 | private final static String MESSAGE_KEY = "_AttributeFeatureTypeNotSuportedException"; |
||
14 | |||
15 | public AttributeFeatureTypeNotSuportedException(String attrname, |
||
16 | int typeValue,
|
||
17 | String typeName, String storeName) { |
||
18 | super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
||
19 | setValue("attrname", attrname);
|
||
20 | setValue("typeValue", "" + typeValue); |
||
21 | setValue("typeName", typeName);
|
||
22 | setValue("storeName", storeName);
|
||
23 | |||
24 | } |
||
25 | } |