gvsig-gdal / trunk / org.gvsig.gdal / org.gvsig.gdal.gpx / src / main / java / org / gvsig / fmap / dal / store / gpx / UnsupportedOGRVersionException.java @ 11
History | View | Annotate | Download (807 Bytes)
1 |
package org.gvsig.fmap.dal.store.gpx; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.dal.exception.DataException; |
4 |
|
5 |
public class UnsupportedOGRVersionException extends DataException { |
6 |
|
7 |
/**
|
8 |
*
|
9 |
*/
|
10 |
private static final long serialVersionUID = -7335241420683266251L; |
11 |
private final static String MESSAGE_FORMAT = "Unssuported version of Driver of file '%(file)'. Try to convert using Autodesk convertor from '%(autodeskurl)'"; |
12 |
private final static String MESSAGE_KEY = "_UnsupportedDriverVersionException"; |
13 |
|
14 |
public final static String AUTODESK_URL = "http://usa.autodesk.com/adsk/servlet/item?siteID=123112&id=7024151"; |
15 |
|
16 |
public UnsupportedOGRVersionException(String file, |
17 |
Throwable cause) {
|
18 |
super(MESSAGE_FORMAT, cause, MESSAGE_KEY, serialVersionUID);
|
19 |
setValue("file", file);
|
20 |
setValue("autodeskurl", AUTODESK_URL);
|
21 |
} |
22 |
} |