root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / exceptions / UnsupportedVersionException.java @ 24496
History | View | Annotate | Download (592 Bytes)
1 | 24496 | jmvivo | package org.gvsig.fmap.dal.exceptions; |
---|---|---|---|
2 | 23911 | jmvivo | |
3 | |||
4 | public class UnsupportedVersionException extends DataException { |
||
5 | /**
|
||
6 | *
|
||
7 | */
|
||
8 | private static final long serialVersionUID = 4614439562201218739L; |
||
9 | 23995 | jmvivo | private final static String MESSAGE_FORMAT = "Version '%(formatVersion) of '%(storeName)' not supported'."; |
10 | 23911 | jmvivo | private final static String MESSAGE_KEY = "_UnsupportedVersionException"; |
11 | |||
12 | public UnsupportedVersionException(String storeName, String formatVersion) { |
||
13 | super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
||
14 | setValue("storeName", storeName);
|
||
15 | setValue("formatVersion", formatVersion);
|
||
16 | } |
||
17 | } |