root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / exceptions / DataRuntimeException.java @ 24496
History | View | Annotate | Download (771 Bytes)
1 | 24496 | jmvivo | package org.gvsig.fmap.dal.exceptions; |
---|---|---|---|
2 | 23898 | jjdelcerro | |
3 | import java.util.HashMap; |
||
4 | import java.util.Map; |
||
5 | |||
6 | import org.gvsig.tools.exception.BaseRuntimeException; |
||
7 | |||
8 | public abstract class DataRuntimeException extends BaseRuntimeException { |
||
9 | |||
10 | /**
|
||
11 | *
|
||
12 | */
|
||
13 | private static final long serialVersionUID = -5882808169007262182L; |
||
14 | protected Map values = new HashMap(); |
||
15 | |||
16 | public DataRuntimeException(String messageFormat, Throwable cause, |
||
17 | String messageKey, long code) { |
||
18 | super(messageFormat, cause, messageKey, code);
|
||
19 | } |
||
20 | |||
21 | public DataRuntimeException(String messageFormat, String messageKey, long code) { |
||
22 | super(messageFormat, messageKey, code);
|
||
23 | } |
||
24 | |||
25 | protected void setValue(String name, String value) { |
||
26 | this.values.put(name, value);
|
||
27 | } |
||
28 | |||
29 | protected Map values() { |
||
30 | return this.values; |
||
31 | } |
||
32 | } |