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 / feature / exception / DataExportException.java @ 40435
History | View | Annotate | Download (550 Bytes)
1 |
package org.gvsig.fmap.dal.feature.exception; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.dal.exception.DataException; |
4 |
|
5 |
public class DataExportException extends DataException { |
6 |
|
7 |
/**
|
8 |
*
|
9 |
*/
|
10 |
private static final long serialVersionUID = 2776287871021464378L; |
11 |
|
12 |
private final static String MESSAGE_FORMAT = "Can't export to %(target)s."; |
13 |
private final static String MESSAGE_KEY = "_DataExportException"; |
14 |
|
15 |
public DataExportException(Throwable cause, String target) { |
16 |
super(MESSAGE_FORMAT, cause, MESSAGE_KEY, serialVersionUID);
|
17 |
this.setValue("target", target); |
18 |
} |
19 |
} |