Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / exceptions / layers / StopEditionLayerException.java @ 10627

History | View | Annotate | Download (650 Bytes)

1
package com.iver.cit.gvsig.exceptions.layers;
2

    
3
import java.util.Hashtable;
4
import java.util.Map;
5

    
6
import org.gvsig.exceptions.BaseException;
7
/**
8
 * @author Vicente Caballero Navarro
9
 */
10
public class StopEditionLayerException extends BaseException{
11

    
12
        private String layer;
13
        public StopEditionLayerException(String l,Throwable exception) {
14
                this.layer=l;
15
                init();
16
                initCause(exception);
17
        }
18
        /**
19
         *
20
         */
21
        private void init() {
22
                messageKey = "error_stop_editing_layer";
23
                formatString = "Can?t stop editing the layer: %(tag) ";
24
        }
25

    
26

    
27
        protected Map values() {
28
                Hashtable params = new Hashtable();
29
                params.put("layer",layer);
30
                return params;
31
        }
32

    
33
}