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 / NeedEditingModeException.java @ 40435
History | View | Annotate | Download (573 Bytes)
1 |
package org.gvsig.fmap.dal.feature.exception; |
---|---|
2 |
|
3 |
import org.gvsig.fmap.dal.exception.DataException; |
4 |
|
5 |
public class NeedEditingModeException extends DataException { |
6 |
|
7 |
/**
|
8 |
*
|
9 |
*/
|
10 |
private static final long serialVersionUID = 4295472399799040181L; |
11 |
|
12 |
private final static String MESSAGE_FORMAT = "Operation not allowed if not in editing mode for store '%(store)s'."; |
13 |
private final static String MESSAGE_KEY = "_NeedEditingModeException"; |
14 |
|
15 |
public NeedEditingModeException(String store) { |
16 |
super(MESSAGE_FORMAT, MESSAGE_KEY, serialVersionUID);
|
17 |
setValue("store", store);
|
18 |
} |
19 |
} |