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 / WriteException.java @ 40435
History | View | Annotate | Download (528 Bytes)
1 | 40435 | jjdelcerro | package org.gvsig.fmap.dal.exception; |
---|---|---|---|
2 | |||
3 | /**
|
||
4 | * FIXME
|
||
5 | *
|
||
6 | *
|
||
7 | */
|
||
8 | |||
9 | public class WriteException extends DataException { |
||
10 | |||
11 | /**
|
||
12 | *
|
||
13 | */
|
||
14 | private static final long serialVersionUID = 3656543768356545436L; |
||
15 | private final static String MESSAGE_FORMAT = "Exception writing '%(resource)'."; |
||
16 | private final static String MESSAGE_KEY = "_WriteException"; |
||
17 | |||
18 | public WriteException(String resource, Throwable cause) { |
||
19 | super(MESSAGE_FORMAT, cause, MESSAGE_KEY, serialVersionUID);
|
||
20 | setValue("resource", resource);
|
||
21 | } |
||
22 | |||
23 | } |