root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / exceptions / layers / StartEditionLayerException.java @ 27619
History | View | Annotate | Download (654 Bytes)
1 | 10627 | caballero | 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 StartEditionLayerException extends BaseException { |
||
11 | private String layer; |
||
12 | public StartEditionLayerException(String l,Throwable exception) { |
||
13 | this.layer=l;
|
||
14 | init(); |
||
15 | initCause(exception); |
||
16 | } |
||
17 | /**
|
||
18 | *
|
||
19 | */
|
||
20 | private void init() { |
||
21 | messageKey = "error_start_editing_layer";
|
||
22 | formatString = "Can?t start editing the layer: %(tag) ";
|
||
23 | } |
||
24 | |||
25 | |||
26 | protected Map values() { |
||
27 | Hashtable params = new Hashtable(); |
||
28 | params.put("layer",layer);
|
||
29 | return params;
|
||
30 | } |
||
31 | |||
32 | } |