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