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 / exception / UnsupportedVersionException.java @ 40435
History | View | Annotate | Download (591 Bytes)
1 |
package org.gvsig.fmap.dal.exception; |
---|---|
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) of '%(storeName)' 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 |
} |