Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / exceptions / UnknowDataTypeException.java @ 24496

History | View | Annotate | Download (711 Bytes)

1
package org.gvsig.fmap.dal.feature.exceptions;
2

    
3
import org.gvsig.fmap.dal.exceptions.DataException;
4

    
5
public class UnknowDataTypeException extends DataException {
6

    
7

    
8
        /**
9
         *
10
         */
11
        private static final long serialVersionUID = -7481521283837021787L;
12
        private final static String MESSAGE_FORMAT = "Unknow data type '%(typeValue)s' of attribute '%(attrname)s' from '%(storeName)s'.";
13
        private final static String MESSAGE_KEY = "_UnknowDataTypeException";
14

    
15
        public UnknowDataTypeException(String attrname,
16
                        String typeValue,
17
                        String storeName) {
18
                super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
19
                setValue("attrname", attrname);
20
                setValue("typeValue", typeValue);
21
                setValue("storeName", storeName);
22

    
23
        }
24
}