svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / exceptions / UnsupportedVersionException.java @ 23947
History | View | Annotate | Download (595 Bytes)
1 |
package org.gvsig.fmap.data.exceptions; |
---|---|
2 |
|
3 |
|
4 |
public class UnsupportedVersionException extends DataException { |
5 |
/**
|
6 |
*
|
7 |
*/
|
8 |
private static final long serialVersionUID = 4614439562201218739L; |
9 |
private final static String MESSAGE_FORMAT = "Version '%(formatVersion)s of '%(storeName)s' not supported'."; |
10 |
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 |
} |