Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / exceptions / NeedEditingModeException.java @ 24496

History | View | Annotate | Download (575 Bytes)

1
package org.gvsig.fmap.dal.feature.exceptions;
2

    
3
import org.gvsig.fmap.dal.exceptions.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
}