Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_mapcontext / src / org / gvsig / fmap / mapcontext / exceptions / LegendLayerException.java @ 33615

History | View | Annotate | Download (740 Bytes)

1
package org.gvsig.fmap.mapcontext.exceptions;
2

    
3

    
4
/**
5
 * @author Vicente Caballero Navarro
6
 */
7
public class LegendLayerException extends LoadLayerException {
8

    
9
        /**
10
         * 
11
         */
12
        private static final long serialVersionUID = -4033030636689365030L;
13

    
14
    protected LegendLayerException(String message, Throwable cause, String key,
15
            long code) {
16
        super(message, cause, key, code);
17
    }
18
    
19
        public LegendLayerException(String layer,Throwable cause) {
20
                super(
21
                                "Can?t load the legend for layer %(layer).",
22
                                cause,
23
                                "Cant_load_the_legend_for_layer_XlayerX",
24
                                serialVersionUID
25
                );
26
                setValue("layer", layer);
27
        }
28
        
29
        public LegendLayerException(String layer) {
30
                this(layer,null);
31
        }
32
        
33
}